aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2022-07-25 20:48:35 +0000
committerJames Farrell <jamesfarrell@google.com>2022-07-25 20:48:35 +0000
commitef485785e5fac81643a1e15c8924f9aa4da628bc (patch)
treec08096753e59a281d326bc5f355075f77f3fedf3
parentf7896894ce2477e112ba3d9ee90f0fc104d6acc3 (diff)
downloadndkports-ef485785e5fac81643a1e15c8924f9aa4da628bc.tar.gz
Upgrade Gradle and Kotlin.
Upgrade Gradle to 7.5, Kotlin to 1.7.10. Also delete reference to deprecated jcenter repo. Change-Id: I68bd1b4c285df7e6526035245a5195eef49dd93f
-rw-r--r--build.gradle.kts1
-rw-r--r--buildSrc/build.gradle.kts9
-rw-r--r--gradle/wrapper/gradle-wrapper.properties2
3 files changed, 5 insertions, 7 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index e8b8d43..c1a7350 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -17,7 +17,6 @@ version = "1.0.0${extra.get("snapshotSuffix")}"
repositories {
mavenCentral()
- jcenter()
google()
}
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 4de21c7..23635cc 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -1,7 +1,7 @@
-val kotlinVersion = "1.4.20"
+val kotlinVersion = "1.7.10"
plugins {
- id("org.jetbrains.kotlin.jvm") version "1.4.20"
+ id("org.jetbrains.kotlin.jvm") version "1.7.10"
id("java-gradle-plugin")
id("maven-publish")
}
@@ -11,16 +11,15 @@ version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
- jcenter()
google()
}
dependencies {
implementation(kotlin("stdlib", kotlinVersion))
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1")
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3")
implementation("com.google.prefab:api:1.1.2")
- implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0")
+ implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3")
implementation("org.redundent:kotlin-xml-builder:1.6.1")
testImplementation(kotlin("test", kotlinVersion))
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index da9702f..2ec77e5 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-6.8-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists