Skip to content

Commit

Permalink
Rearrange blocks (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Sep 2, 2024
1 parent 759c097 commit 4e18245
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ apply from: file('gradle/vuepress.gradle')
apply from: file('gradle/ghPages.gradle')
apply from: file('gradle/dependencies.gradle')

java {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

idea {
project {
languageLevel = '1.8'
}
}

tasks.withType(Test).configureEach {
useJUnitPlatform()

Expand Down Expand Up @@ -50,19 +61,10 @@ tasks.named('shadowJar', ShadowJar) {
enableRelocation true
}

idea {
project {
languageLevel = '1.8'
}
}

tasks.named('ideaModule') {
notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/13480")
}

sourceCompatibility = '1.8'
targetCompatibility = '1.8'

tasks.register('downloadDependencies', Exec) {
dependsOn configurations.testRuntimeClasspath
commandLine 'echo', 'Downloaded all dependencies'
Expand Down

0 comments on commit 4e18245

Please sign in to comment.