-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (41 loc) · 1.15 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
compile "org.slf4j:slf4j-api:$project.version_slf4j"
compile "org.apache.logging.log4j:log4j-slf4j-impl:$project.version_log4j"
compile "org.apache.logging.log4j:log4j-api:$project.version_log4j"
compile "org.apache.logging.log4j:log4j-core:$project.version_log4j"
testCompile "junit:junit:$project.version_junit"
}
clean {
delete 'bin'
}
}
project(':fitrepair-utils') {
dependencies {
}
}
project(':fitrepair-main') {
dependencies {
compile project(':fitrepair-utils')
}
jar {
manifest {
attributes 'Implementation-Title': baseName
attributes 'Implementation-Version': version
attributes 'Main-Class': 'com.harry0000.fitrepair.FitRepair'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
}