Skip to content

Commit 13bc880

Browse files
committed
upgrade android to 35
1 parent b00f8f1 commit 13bc880

File tree

8 files changed

+26
-20
lines changed

8 files changed

+26
-20
lines changed

android-sdk/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ apply plugin: 'com.android.library'
1818
apply plugin: 'kotlin-android'
1919

2020
android {
21-
compileSdkVersion compile_sdk_version
22-
buildToolsVersion build_tools_version
21+
namespace "com.optimizely.ab.android.sdk"
22+
compileSdk compile_sdk_version
23+
buildTools build_tools_version
2324

2425
defaultConfig {
2526
minSdkVersion min_sdk_version

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// Top-level build file where you can add configuration options common to all sub-projects/modules.
1818

1919
buildscript {
20-
ext.kotlin_version = '1.7.0'
20+
ext.kotlin_version = '1.9.10'
2121

2222
ext.version_name = System.getenv('GITHUB_TAG')
2323
if (version_name == null || version_name.isEmpty()) {
@@ -30,7 +30,7 @@ buildscript {
3030
mavenCentral()
3131
}
3232
dependencies {
33-
classpath 'com.android.tools.build:gradle:7.2.2'
33+
classpath 'com.android.tools.build:gradle:8.1.2'
3434
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
3535

3636
// NOTE: Do not place your application dependencies here; they belong
@@ -39,7 +39,7 @@ buildscript {
3939
}
4040

4141
plugins {
42-
id "org.jlleitschuh.gradle.ktlint" version "11.0.0"
42+
id "org.jlleitschuh.gradle.ktlint" version "11.0.0"
4343
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
4444
}
4545

@@ -67,10 +67,10 @@ allprojects {
6767
}
6868

6969
ext {
70-
compile_sdk_version = 33
71-
build_tools_version = "30.0.3"
70+
compile_sdk_version = 35
71+
build_tools_version = "35.0.0"
7272
min_sdk_version = 21
73-
target_sdk_version = 33
73+
target_sdk_version = 35
7474
java_core_ver = "4.2.2"
7575
android_logger_ver = "1.3.6"
7676
jacksonversion= "2.11.2"
@@ -127,7 +127,7 @@ nexusPublishing {
127127
password = System.getenv('MAVEN_CENTRAL_PASSWORD')
128128
}
129129
}
130-
130+
131131
}
132132

133133
task ship() {

datafile-handler/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ apply plugin: 'com.android.library'
1818
apply plugin: 'kotlin-android'
1919

2020
android {
21-
compileSdkVersion compile_sdk_version
22-
buildToolsVersion build_tools_version
21+
namespace "com.optimizely.ab.android.datafile_handler"
22+
compileSdk compile_sdk_version
23+
buildTools build_tools_version
2324

2425
defaultConfig {
2526
minSdkVersion min_sdk_version

event-handler/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ apply plugin: 'com.android.library'
1818
apply plugin: 'kotlin-android'
1919

2020
android {
21-
compileSdkVersion compile_sdk_version
22-
buildToolsVersion build_tools_version
21+
namespace "com.optimizely.ab.android.event_handler"
22+
compileSdk compile_sdk_version
23+
buildTools build_tools_version
2324

2425
defaultConfig {
2526
minSdkVersion min_sdk_version

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
org.gradle.jvmargs=-Xmx1g
66
zipStorePath=wrapper/dists
7-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
7+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip

odp/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ apply plugin: 'kotlin-android'
1919
apply plugin: 'org.jlleitschuh.gradle.ktlint'
2020

2121
android {
22-
compileSdkVersion compile_sdk_version
23-
buildToolsVersion build_tools_version
22+
namespace "com.optimizely.ab.android.odp"
23+
compileSdk compile_sdk_version
24+
buildTools build_tools_version
2425

2526
defaultConfig {
2627
minSdkVersion min_sdk_version

shared/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ apply plugin: 'com.android.library'
1818
apply plugin: 'kotlin-android'
1919

2020
android {
21-
compileSdkVersion compile_sdk_version
22-
buildToolsVersion build_tools_version
21+
namespace "com.optimizely.ab.android.shared"
22+
compileSdk compile_sdk_version
23+
buildTools build_tools_version
2324

2425
defaultConfig {
2526
minSdkVersion min_sdk_version

user-profile/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ apply plugin: 'com.android.library'
1818
apply plugin: 'kotlin-android'
1919

2020
android {
21-
compileSdkVersion compile_sdk_version
22-
buildToolsVersion build_tools_version
21+
namespace "com.optimizely.ab.android.user_profile"
22+
compileSdk compile_sdk_version
23+
buildTools build_tools_version
2324

2425
defaultConfig {
2526
minSdkVersion min_sdk_version

0 commit comments

Comments
 (0)