Skip to content

Commit b6507f2

Browse files
committed
Upgrade Gradle to 9.5.0, AGP to 9.2.1, and SDK to 37
This commit updates the project's build system to newer versions of Gradle and the Android Gradle Plugin. * **Gradle Upgrade:** * The Gradle wrapper is updated from version `8.13` to `9.5.0`. * The `gradlew` and `gradlew.bat` scripts have been updated to match the new version. * **Android Gradle Plugin (AGP) Upgrade:** * The AGP version is updated from `8.13.2` to `9.2.1`. * The `androidLibrary` block in `build.gradle.kts` has been changed to `android` to align with the new plugin syntax. * **Target SDK Update:** * The `targetSdk` version has been increased from `36` to `37`.
1 parent 8e70191 commit b6507f2

6 files changed

Lines changed: 20 additions & 35 deletions

File tree

basic-ads/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.android.build.api.dsl.androidLibrary
21
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
32
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
43

@@ -112,8 +111,7 @@ kotlin {
112111
freeCompilerArgs.add("-Xexpect-actual-classes")
113112
}
114113

115-
@Suppress("UnstableApiUsage")
116-
androidLibrary{
114+
android {
117115
namespace = "app.lexilabs.basic.ads"
118116
compileSdk = libs.versions.build.sdk.compile.get().toInt()
119117
minSdk = libs.versions.build.sdk.min.get().toInt()

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[versions]
22
# BUILD INFO
33
ads = "1.2.0-beta01"
4-
build-sdk-compile = "36"
4+
build-sdk-compile = "37"
55
build-sdk-min = "24"
6-
build-sdk-target = "36"
6+
build-sdk-target = "37"
77
build-ios-target-deployment = "13.0"
88
kotlin = "2.3.21"
9-
agp = "8.13.2"
9+
agp = "9.2.1"
1010
# COCOAPODS DEPENDENCIES
1111
cocoapods-admob = "13.3.0"
1212
cocoapods-ump = "3.1.0"

gradle/wrapper/gradle-wrapper.jar

4.65 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip
44
networkTimeout=10000
5+
retries=0
6+
retryBackOffMs=500
57
validateDistributionUrl=true
68
zipStoreBase=GRADLE_USER_HOME
79
zipStorePath=wrapper/dists

gradlew

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 10 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)