From dacfc9b687fb34ef6a9c1e7359ab75db1ce4875d Mon Sep 17 00:00:00 2001 From: Aaron He Date: Thu, 11 Jul 2019 15:53:01 -0700 Subject: [PATCH] Setting jvm target to 1.8 (#84) * Setting jvm target to 1.8 * Updated to Gradle 5.5.1 --- build.gradle | 11 +++++++++-- dependencies.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- jitpack.yml | 4 ---- 4 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 jitpack.yml diff --git a/build.gradle b/build.gradle index b9d44494..423a3bbd 100644 --- a/build.gradle +++ b/build.gradle @@ -23,16 +23,23 @@ ktlint { version = '0.29.0' } -subprojects { +allprojects { group = GROUP version = VERSION_NAME repositories { mavenCentral() google() - maven { url "https://jitpack.io" } jcenter() } } +subprojects { project -> + tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { + kotlinOptions { + jvmTarget = "1.8" + } + } +} + apply from: rootProject.file('dependencies.gradle') diff --git a/dependencies.gradle b/dependencies.gradle index dc4ae255..53e0ef03 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -53,5 +53,5 @@ ext { kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" kotlinReflect = "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - stateMachine = "com.github.tinder:statemachine:0.1.2" + stateMachine = "com.tinder.statemachine:statemachine:0.2.0" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e0c4de36..430dfabc 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/jitpack.yml b/jitpack.yml deleted file mode 100644 index 7ce70da2..00000000 --- a/jitpack.yml +++ /dev/null @@ -1,4 +0,0 @@ -jdk: - - oraclejdk8 -install: - - ./publish-jitpack.sh