forked from colorfulFlames/flames
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (42 loc) · 1.29 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
//file:noinspection GroovyUnusedAssignment
//file:noinspection GroovyUnusedAssignment
plugins {
id'application'
id'com.github.johnrengelman.shadow' version '5.2.0'
//noinspection GroovyAssignabilityCheck
id 'java'
}
mainClassName = 'com.severalcircles.flames.Flames'
version '7'
def jdaVersion = '5.0.0-beta.3'
sourceCompatibility = targetCompatibility = 1.8
group 'com.severalcircles.flames'
repositories {
mavenCentral()
maven { // on kotlin dsl use `maven("https://m2.dv8tion.net/releases")` instead
url "https://m2.dv8tion.net/releases"
}
}
task createProperties(dependsOn: processResources) {
doLast {
new File("$buildDir/resources/main/version.properties").withWriter { w ->
Properties p = new Properties()
p['version'] = project.version.toString()
p.store w, null
}
}
}
classes {
dependsOn createProperties
}
test {
useJUnitPlatform()
}
dependencies {
implementation("net.dv8tion:JDA:$jdaVersion")
implementation platform('com.google.cloud:libraries-bom:24.3.0')
implementation 'com.google.cloud:google-cloud-dialogflow'
implementation 'com.google.cloud:google-cloud-language:2.1.4'
implementation 'com.bugsnag:bugsnag:3.6.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
}