Skip to content

Commit

Permalink
Fix jitpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
d0by1 committed Aug 29, 2022
1 parent c5d62de commit 069aea3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,13 @@ dependencies {
annotationProcessor 'org.jetbrains:annotations:23.0.0'
}

sourceCompatibility = 1.8
targetCompatibility = 1.8

compileJava {
options.encoding = 'UTF-8'
}

java {
def javaVersion = JavaVersion.VERSION_1_8
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
}

publishing {
publications {
shadow(MavenPublication) {
Expand Down

0 comments on commit 069aea3

Please sign in to comment.