Skip to content

Commit 0c08ae6

Browse files
committed
#1: Tweak Gradle build.
1 parent 32b4a3b commit 0c08ae6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
java-version: ${{ matrix.java-version }}
3131
distribution: 'zulu'
3232
- name: Build with Gradle
33-
run: ./gradlew build --stacktrace --info
33+
run: ./gradlew clean compileJava --stacktrace --info

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ gradle.projectsEvaluated {
6363
val project = this
6464

6565
tasks.withType<JavaCompile> {
66-
//options.compilerArgs.add("-Xlint:" + xlint())
66+
options.compilerArgs.add("-Xlint:none" + xlint())
6767
}
6868

6969
plugins.withType<JavaPlugin> {

0 commit comments

Comments
 (0)