forked from MarkusBordihn/BOs-Mods-Optimizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (38 loc) · 1.09 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
subprojects {
apply plugin: 'java'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
java.withSourcesJar()
java.withJavadocJar()
repositories {
mavenCentral()
maven {
url "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
}
dependencies {
// Additional Java Libraries
compileOnly 'com.google.code.gson:gson:2.10.1'
implementation 'com.moandjiezana.toml:toml4j:0.7.2'
implementation 'com.github.zafarkhaja:java-semver:0.9.0'
// Test Framework
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.1'
}
tasks.register('wrapper', Wrapper) {
gradleVersion = '7.5'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.withType(GenerateModuleMetadata).configureEach {
enabled = false
}
tasks.withType(Javadoc).configureEach {
enabled = false
}
tasks.register("prepareKotlinBuildScriptModel") {}
}