Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 9ad812b

Browse files
committed
chore: Change back to groovy for better build times, warnings still resolved
1 parent f63899a commit 9ad812b

9 files changed

Lines changed: 76 additions & 65 deletions

File tree

client/build.gradle

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
plugins {
2+
id 'java'
3+
id 'application'
4+
}
5+
6+
dependencies {
7+
compileOnly project(':deob-annotations')
8+
}
9+
10+
java {
11+
sourceCompatibility = JavaVersion.VERSION_1_5
12+
}
13+
14+
application {
15+
mainClass = "client"
16+
}
17+
18+
tasks.withType(JavaCompile) {
19+
options.encoding = 'UTF-8'
20+
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
21+
}
22+
23+
tasks.withType(JavaExec) {
24+
workingDir = project.rootDir
25+
}

client/build.gradle.kts

Lines changed: 0 additions & 24 deletions
This file was deleted.

deob-annotations/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
plugins {
2+
id 'java'
3+
id 'java-library'
4+
}
5+
6+
java {
7+
sourceCompatibility = JavaVersion.VERSION_1_5
8+
}
9+
10+
tasks.withType(JavaCompile) {
11+
options.encoding = 'UTF-8'
12+
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
13+
}

deob-annotations/build.gradle.kts

Lines changed: 0 additions & 12 deletions
This file was deleted.

loader/build.gradle

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
dependencies {
6+
compileOnly project(':deob-annotations')
7+
}
8+
9+
java {
10+
sourceCompatibility = JavaVersion.VERSION_1_5
11+
}
12+
13+
tasks.withType(JavaCompile) {
14+
options.encoding = 'UTF-8'
15+
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
16+
}
17+
18+
tasks.withType(JavaExec) {
19+
workingDir = project.rootDir
20+
}

loader/build.gradle.kts

Lines changed: 0 additions & 15 deletions
This file was deleted.
File renamed without changes.

tools/build.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
tasks.withType(JavaCompile) {
6+
options.encoding = 'UTF-8'
7+
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
8+
}
9+
10+
tasks.withType(JavaExec) {
11+
workingDir = project.rootDir
12+
}
13+
14+
tasks.register('sig', JavaExec) {
15+
classpath = sourceSets.main.runtimeClasspath
16+
mainClass = 'lostcity.tools.LoaderSig'
17+
args = ['client/build/libs/client.jar']
18+
}

tools/build.gradle.kts

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)