-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
81 lines (71 loc) · 2.11 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
69
70
71
72
73
74
75
76
77
78
79
80
81
//file:noinspection SpellCheckingInspection
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
group 'cyder'
version '0.1.0'
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}
ext {
annotationsVersion = '23.0.0'
guavaVersion = '31.1-jre'
gsonVersion = '2.10'
jsoupVersion = '1.15.2'
jlayerVersion = '1.0.1'
javaulatorVersion = '3.0.3'
commonsVersion = '3.12.0'
commonsTextVersion = '1.9'
httpClientVersion = '4.5.13'
commonsIoVersion = '20030203.000550'
inflectorVersion = '1.3'
junitVersion = '5.9.1'
zip4jVersion = '1.2.4'
gravatarClientHash = '1e5e343'
}
dependencies {
implementation 'org.jetbrains:annotations:' + annotationsVersion
implementation 'com.google.guava:guava:' + guavaVersion
implementation 'com.google.code.gson:gson:' + gsonVersion
implementation 'org.jsoup:jsoup:' + jsoupVersion
implementation 'javazoom:jlayer:' + jlayerVersion
implementation 'com.fathzer:javaluator:' + javaulatorVersion
implementation 'org.apache.commons:commons-lang3:' + commonsVersion
implementation 'org.apache.commons:commons-text:' + commonsTextVersion
implementation 'org.apache.httpcomponents:httpclient:' + httpClientVersion
implementation 'commons-io:commons-io:' + commonsIoVersion
implementation 'org.atteo:evo-inflector:' + inflectorVersion
implementation 'org.junit.jupiter:junit-jupiter-api:' + junitVersion
implementation 'net.lingala.zip4j:zip4j:' + zip4jVersion
implementation 'com.github.nathancheshire:gravatarjavaclient:' + gravatarClientHash
}
compileKotlin {
kotlinOptions {
jvmTarget = "16"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "16"
}
}
build.dependsOn(compileJava, compileTestJava)