-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (42 loc) · 1.51 KB
/
Copy pathbuild.gradle
File metadata and controls
54 lines (42 loc) · 1.51 KB
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
apply plugin: "java"
version "1.0"
sourceCompatibility = JavaVersion.VERSION_16
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
repositories {
mavenCentral()
maven { url "https://raw.githubusercontent.com/Zelaux/MindustryRepo/master/repository" }
maven { url "https://www.jitpack.io" }
}
ext {
mindustryVersion = "v145"
lombokVersion = "1.18.28"
jdaVersion = "5.0.0-beta.13"
jacksonYamlVersion = "2.14.2"
jooqVersion = "3.17.0"
databaseVersion = "3d5dd76a4f"
}
dependencies {
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
compileOnly "org.projectlombok:lombok:$lombokVersion"
implementation "com.github.Anuken.Arc:arc-core:$mindustryVersion"
implementation ("com.github.Anuken.Mindustry:core:$mindustryVersion") {
exclude module: "flabel"
exclude module: "freetype"
exclude module: "fx"
}
implementation ("net.dv8tion:JDA:$jdaVersion") { exclude module: "opus-java" }
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jacksonYamlVersion"
implementation "org.jooq:jooq:$jooqVersion"
implementation "com.github.thedimasNetwork:DatabaseWrapper:$databaseVersion"
}
jar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
manifest {
attributes "Main-Class": "stellar.corebot.CoreBot"
}
archiveFileName = "${project.archivesBaseName}.jar"
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}