forked from java-decompiler/jd-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (59 loc) · 1.79 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven-publish'
dependencies {
testImplementation 'commons-codec:commons-codec:1.13'
testImplementation 'org.apache.commons:commons-collections4:4.1'
testImplementation 'org.apache.commons:commons-imaging:1.0-alpha1'
testImplementation 'org.apache.commons:commons-lang3:3.9'
testImplementation 'com.jakewharton:disklrucache:2.0.2'
testImplementation 'com.squareup:javapoet:1.11.1'
testImplementation 'com.squareup:javawriter:2.5.1'
testImplementation 'joda-time:joda-time:2.10.5'
testImplementation 'org.joda:joda-convert:2.2.1'
testImplementation 'org.jsoup:jsoup:1.12.1'
testImplementation 'junit:junit:4.12'
testImplementation 'javax.jms:javax.jms-api:2.0.1'
testImplementation 'javax.mail:javax.mail-api:1.6.2'
testImplementation 'com.squareup.mimecraft:mimecraft:1.1.1'
testImplementation 'org.scribe:scribe:1.3.7'
testImplementation 'com.sparkjava:spark-core:2.9.1'
testImplementation 'log4j:log4j:1.2.17'
testImplementation 'com.google.guava:guava:12.0'
}
version='1.1.4'
group='com.github.Jacocococo'
tasks.withType(JavaCompile) {
sourceCompatibility = targetCompatibility = '17'
options.compilerArgs << '-Xlint:deprecation'
options.compilerArgs << '-Xlint:unchecked'
options.encoding = 'UTF-8'
}
buildscript {
repositories {
jcenter()
}
}
repositories {
jcenter()
}
jar {
manifest {
attributes 'JD-Core-Version': version
}
}
// Publication to JCenter Maven repository
task sourceJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allJava
}
test {
exclude '**/*'
}
// 'cleanIdea' task extension //
cleanIdea.doFirst {
delete project.name + '.iws'
delete 'out'
followSymlinks = true
}