-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
43 lines (34 loc) · 898 Bytes
/
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
tasks.register('runAllGameTests') {
group = 'verification'
description = 'Runs both Fabric and Forge game tests.'
dependsOn ':Fabric:runGameTest', ':Forge:runGameTestServer'
}
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"
}
}
}
tasks.register('wrapper', Wrapper) {
gradleVersion = '8.9'
distributionType = Wrapper.DistributionType.BIN
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.withType(GenerateModuleMetadata).configureEach {
enabled = false
}
tasks.withType(Javadoc).configureEach {
enabled = false
}
tasks.register("prepareKotlinBuildScriptModel") {}
}