-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
95 lines (76 loc) · 2.75 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
plugins {
id 'java'
id 'org.cadixdev.licenser' version '0.6.1'
id 'io.freefair.lombok' version '6.2.0'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
def halpBotVerson = '2.0.8'
File libs = file('libs')
group 'nz.pumbas.halpbot'
version halpBotVerson
repositories {
mavenCentral()
maven {
url "https://m2.dv8tion.net/releases"
}
}
test {
useJUnitPlatform()
}
subprojects { Project subProject ->
apply plugin: 'java'
apply plugin: 'org.cadixdev.licenser'
apply plugin: 'io.freefair.lombok'
apply plugin: 'com.github.johnrengelman.shadow'
group 'nz.pumbas.halpbot'
version halpBotVerson
license {
header = rootProject.file('LICENSE')
ignoreFailures = true
include '**/*.java'
}
sourceCompatibility = 16
targetCompatibility = 16
}
tasks.build {
dependsOn tasks.updateLicenses
}
allprojects {
tasks.withType(JavaCompile) {
options.compilerArgs << '-parameters'
}
plugins.withType(JavaPlugin) {
repositories {
mavenCentral()
maven {
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
implementation 'net.dv8tion:JDA:4.3.0_333'
implementation 'org.checkerframework:checker-qual:3.18.1'
implementation 'org.reflections:reflections:0.10.2'
implementation 'org.javassist:javassist:3.28.0-GA'
implementation 'javax.inject:javax.inject:1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.1'
implementation 'org.hibernate:hibernate-core:5.6.3.Final'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-properties:2.13.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.13.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.1'
implementation 'org.codehaus.woodstox:woodstox-core-asl:4.4.1'
implementation 'org.mockito:mockito-core:4.2.0'
implementation 'org.apache.derby:derby:10.14.2.0'
implementation 'javax.persistence:javax.persistence-api:2.2'
implementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'ch.qos.logback:logback-classic:1.2.10'
implementation fileTree(dir: libs, include: '*.jar')
// implementation 'org.dockbox.hartshorn:hartshorn-core:22.1'
// implementation 'org.dockbox.hartshorn:hartshorn-data:22.1'
}
test {
useJUnitPlatform()
}
}
}