Skip to content

Commit

Permalink
Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Feb 13, 2024
1 parent 12bf836 commit b64f10f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ configure(project(':annotations')){
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:-options'

sourceCompatibility = compilerVersion
sourceCompatibility = 17
targetCompatibility = 8

doFirst{
Expand Down Expand Up @@ -76,24 +76,21 @@ dependencies{
}

jar{
exclude 'gltfrenzy/spec/**'
metaInf{
from layout.projectDirectory.file('LICENSE')
}
}

tasks.withType(JavaCompile).configureEach{
sourceCompatibility = compilerVersion
sourceCompatibility = 17
options.release = 8
options.compilerArgs << '-Xlint:-options'

options.incremental = true
options.encoding = 'UTF-8'
}

tasks.withType(Jar).configureEach{
exclude 'gltfrenzy/spec/**'
}

publishing.publications.create('maven', MavenPublication){
from components.java
}
4 changes: 2 additions & 2 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
before_install:
- sdk install java 21.0.1-tem
- sdk use java 21.0.1-tem
- sdk install java 17.0.10-tem
- sdk use java 17.0.10-tem
install:
- chmod +x gradlew
- ./gradlew publishToMavenLocal
Expand Down

0 comments on commit b64f10f

Please sign in to comment.