Skip to content

Commit

Permalink
Merge pull request #221 from MarkusAmshove/target-java-8
Browse files Browse the repository at this point in the history
Target Java 8
  • Loading branch information
MarkusAmshove committed Oct 19, 2022
2 parents d1f1efb + 7f0fc0d commit 2ceebe1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Expand Up @@ -35,7 +35,7 @@ ext {

allprojects {
group 'org.amshove.kluent'
version '1.70'
version '1.71'

apply plugin: 'com.adarshr.test-logger'

Expand Down Expand Up @@ -69,8 +69,8 @@ subprojects {
}

def isAndroid = project.rootProject.hasProperty("ANDROID")
sourceCompatibility = isAndroid ? 1.6 : 1.8
targetCompatibility = isAndroid ? 1.6 : 1.8
sourceCompatibility = 1.8
targetCompatibility = 1.8

publishing {
repositories {
Expand Down
4 changes: 2 additions & 2 deletions common/build.gradle
Expand Up @@ -10,8 +10,8 @@ dependencies {

configurePublishing()

sourceCompatibility = 1.6
targetCompatibility = 1.6
sourceCompatibility = 1.8
targetCompatibility = 1.8

compileKotlinCommon {
kotlinOptions {
Expand Down
2 changes: 1 addition & 1 deletion jvm/build.gradle
Expand Up @@ -47,7 +47,7 @@ sourceSets {

tasks.withType(compileKotlin.getClass()) {
kotlinOptions {
jvmTarget = isAndroid ? '1.6' : '1.8'
jvmTarget = '1.8'

freeCompilerArgs += [
'-Xuse-experimental=kotlin.Experimental'
Expand Down

0 comments on commit 2ceebe1

Please sign in to comment.