Upgrade to JDK 16, Kotlin 1.3.21 and Gradle 7.1.1
This commit is contained in:
parent
05195d792d
commit
3d4824759e
64 changed files with 1073 additions and 620 deletions
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id("application")
|
||||
id("com.github.ben-manes.versions") version "0.39.0"
|
||||
kotlin("jvm") version "1.5.10"
|
||||
kotlin("jvm") version "1.5.21"
|
||||
}
|
||||
|
||||
// ./gradlew run --args='https://erik.thauvin.net/ https://bit.ly/2PsNMAA'
|
||||
|
@ -25,13 +25,13 @@ application {
|
|||
tasks {
|
||||
register("runJava", JavaExec::class) {
|
||||
group = "application"
|
||||
main = "com.example.BitlySample"
|
||||
mainClass.set("com.example.BitlySample")
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
}
|
||||
|
||||
register("runRetrieve", JavaExec::class) {
|
||||
group = "application"
|
||||
main = "com.example.BitlyRetrieveKt"
|
||||
mainClass.set("com.example.BitlyRetrieveKt")
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
}
|
||||
}
|
||||
|
|
BIN
examples/gradle/wrapper/gradle-wrapper.jar
vendored
BIN
examples/gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
2
examples/gradlew
vendored
2
examples/gradlew
vendored
|
@ -72,7 +72,7 @@ case "`uname`" in
|
|||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
MSYS* | MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue