File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11buildscript {
2- if (! project. hasProperty(' version' ) || project. version == ' unspecified' ) {
2+ ext. kotlin_version = ' 2.0.20'
3+ if (! project. hasProperty(' version' ) || project. version. equals(' unspecified' )) {
34 project. version = ' +'
45 }
56
@@ -9,15 +10,15 @@ buildscript {
910 mavenCentral()
1011 }
1112 dependencies {
12- classpath ' com.android.tools.build:gradle:7.4.1 '
13+ classpath ' com.android.tools.build:gradle:8.1.4 '
1314 classpath ' com.mparticle:android-kit-plugin:' + project. version
14- classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20 '
15+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$k otlin_version "
1516 }
1617}
1718
1819plugins {
1920 id " org.sonarqube" version " 3.5.0.2730"
20- id " org.jlleitschuh.gradle.ktlint" version " 11.2 .0"
21+ id " org.jlleitschuh.gradle.ktlint" version " 13.0 .0"
2122}
2223
2324sonarqube {
@@ -29,16 +30,20 @@ sonarqube {
2930}
3031
3132apply plugin : ' org.jlleitschuh.gradle.ktlint'
32- apply plugin : " kotlin-android"
33+ apply plugin : ' kotlin-android'
3334apply plugin : ' com.mparticle.kit'
3435
3536android {
37+ namespace ' com.mparticle.kits.appboy'
3638 defaultConfig {
3739 minSdkVersion 21
3840 }
3941 compileOptions {
40- sourceCompatibility 1.8
41- targetCompatibility 1.8
42+ sourceCompatibility JavaVersion . VERSION_17
43+ targetCompatibility JavaVersion . VERSION_17
44+ }
45+ kotlinOptions {
46+ jvmTarget = ' 17'
4247 }
4348 testOptions {
4449 unitTests. all {
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.5.1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0.2 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1- <manifest package =" com.mparticle.kits.appboy"
2- xmlns : android =" http://schemas.android.com/apk/res/android" />
1+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" />
You can’t perform that action at this time.
0 commit comments