Skip to content

Commit

Permalink
Add toolchain to gradle.
Browse files Browse the repository at this point in the history
Signed-off-by: Philip R. Kensche <p.kensche@dkfz-heidelberg.de>
  • Loading branch information
vinjana committed Apr 5, 2024
1 parent 9e6bfd1 commit 1332df4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ apply plugin: 'groovy'

group = "com.github.theroddywms"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

// Fix Java Version
ext.langLevel = 1.8


/*
* Gets the version name from the current Git tag. If the current commit is not tagged,
Expand All @@ -39,9 +47,6 @@ dependencies {
implementation group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
}

// Fix Java Version
ext.langLevel = 1.8

model {
tasks.generatePomFileForMavenJavaPublication {
destination = file("$buildDir/pom.xml")
Expand Down

0 comments on commit 1332df4

Please sign in to comment.