Skip to content

Commit

Permalink
Merge pull request #1 from geekya215/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
geekya215 authored Apr 6, 2024
2 parents aa41b0a + 7facf0b commit aef3e14
Show file tree
Hide file tree
Showing 45 changed files with 2,250 additions and 2,150 deletions.
16 changes: 15 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,22 @@ repositories {
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.jetbrains:annotations:24.0.0'
compileOnly 'org.jetbrains:annotations:24.1.0'
}

test {
useJUnitPlatform()
}
}

tasks.withType(JavaCompile).configureEach {
options.compilerArgs.add("--enable-preview")
}

tasks.withType(JavaExec).configureEach {
jvmArgs("--enable-preview")
}

tasks.withType(Test).configureEach {
jvmArgs("--enable-preview")
}
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#Fri Apr 14 16:44:57 CST 2023
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down
Loading

0 comments on commit aef3e14

Please sign in to comment.