Skip to content

Commit

Permalink
Setting jvm target to 1.8 (#84)
Browse files Browse the repository at this point in the history
* Setting jvm target to 1.8
* Updated to Gradle 5.5.1
  • Loading branch information
Aaron He authored and tinder-ahe committed Jul 11, 2019
1 parent b4fd5fe commit dacfc9b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 0 additions & 4 deletions jitpack.yml

This file was deleted.

0 comments on commit dacfc9b

Please sign in to comment.