Skip to content

Commit 997cab3

Browse files
feat: Update Android Gradle plugin to 8.0.2
1 parent 94077f6 commit 997cab3

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

build.gradle

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.8.10'
2+
ext.kotlin_version = '2.0.20'
33
if (!project.hasProperty('version') || project.version.equals('unspecified')) {
44
project.version = '+'
55
}
@@ -10,15 +10,15 @@ buildscript {
1010
mavenCentral()
1111
}
1212
dependencies {
13-
classpath 'com.android.tools.build:gradle:7.4.1'
13+
classpath 'com.android.tools.build:gradle:8.1.4'
1414
classpath 'com.mparticle:android-kit-plugin:' + project.version
1515
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1616
}
1717
}
1818

1919
plugins {
2020
id "org.sonarqube" version "3.5.0.2730"
21-
id "org.jlleitschuh.gradle.ktlint" version "11.2.0"
21+
id "org.jlleitschuh.gradle.ktlint" version "13.0.0"
2222
}
2323

2424
sonarqube {
@@ -30,13 +30,21 @@ sonarqube {
3030
}
3131

3232
apply plugin: 'org.jlleitschuh.gradle.ktlint'
33-
apply plugin: 'com.mparticle.kit'
3433
apply plugin: 'kotlin-android'
34+
apply plugin: 'com.mparticle.kit'
3535

3636
android {
37+
namespace 'com.mparticle.kits.appsflyer'
3738
defaultConfig {
3839
minSdkVersion 19
3940
}
41+
compileOptions {
42+
sourceCompatibility JavaVersion.VERSION_17
43+
targetCompatibility JavaVersion.VERSION_17
44+
}
45+
kotlinOptions {
46+
jvmTarget = '17'
47+
}
4048
testOptions {
4149
unitTests.all {
4250
jvmArgs += ['--add-opens', 'java.base/java.lang=ALL-UNNAMED']
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Mon Jul 11 21:05:38 COT 2022
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
64
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest package="com.mparticle.kits.appsflyer"
2-
xmlns:android="http://schemas.android.com/apk/res/android">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<!-- This permission is required per AppsFlyer's docs -->
43
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
54
<application/>

0 commit comments

Comments
 (0)