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- 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 }
@@ -9,16 +9,17 @@ buildscript {
99 mavenLocal()
1010 mavenCentral()
1111 }
12+
1213 dependencies {
13- classpath ' com.android.tools.build:gradle:7.4.1 '
14+ classpath ' com.android.tools.build:gradle:8.1.4 '
1415 classpath ' com.mparticle:android-kit-plugin:' + project. version
1516 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1617 }
1718}
1819
1920plugins {
2021 id " org.sonarqube" version " 3.5.0.2730"
21- id " org.jlleitschuh.gradle.ktlint" version " 11.2 .0"
22+ id " org.jlleitschuh.gradle.ktlint" version " 13.0 .0"
2223}
2324
2425sonarqube {
@@ -30,14 +31,27 @@ sonarqube {
3031}
3132
3233apply plugin : ' org.jlleitschuh.gradle.ktlint'
33- apply plugin : ' com.mparticle.kit'
3434apply plugin : ' kotlin-android'
35+ apply plugin : ' com.mparticle.kit'
3536
3637android {
38+ namespace ' com.mparticle.kits.urbanairship'
3739 compileSdk = 33
3840 defaultConfig {
3941 minSdkVersion 23
4042 }
43+ compileOptions {
44+ sourceCompatibility JavaVersion . VERSION_17
45+ targetCompatibility JavaVersion . VERSION_17
46+ }
47+ kotlinOptions {
48+ jvmTarget = ' 17'
49+ }
50+ testOptions {
51+ unitTests. all {
52+ jvmArgs + = [' --add-opens' , ' java.base/java.lang=ALL-UNNAMED' ]
53+ }
54+ }
4155}
4256
4357dependencies {
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.urbanairship"
2- xmlns : android =" http://schemas.android.com/apk/res/android" >
1+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
32
43 <application >
54
You can’t perform that action at this time.
0 commit comments