File tree Expand file tree Collapse file tree
kotlin/com/mparticle/kits 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 }
@@ -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
1919plugins {
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
2424sonarqube {
@@ -30,20 +30,35 @@ sonarqube {
3030}
3131
3232apply plugin : ' org.jlleitschuh.gradle.ktlint'
33- apply plugin : ' com.mparticle.kit'
3433apply plugin : ' kotlin-android'
34+ apply plugin : ' com.mparticle.kit'
3535
3636android {
37+ namespace ' com.mparticle.kits.appsflyer'
38+ buildFeatures {
39+ buildConfig = true
40+ }
3741 defaultConfig {
3842 minSdkVersion 19
3943 }
44+ compileOptions {
45+ sourceCompatibility JavaVersion . VERSION_17
46+ targetCompatibility JavaVersion . VERSION_17
47+ }
48+ kotlinOptions {
49+ jvmTarget = ' 17'
50+ }
4051 testOptions {
4152 unitTests. all {
4253 jvmArgs + = [' --add-opens' , ' java.base/java.lang=ALL-UNNAMED' ]
4354 }
4455 }
4556}
4657
58+ ktlint {
59+ android. set(true )
60+ }
61+
4762dependencies {
4863 api ' com.appsflyer:af-android-sdk:6.17.3'
4964 testImplementation files(' libs/java-json.jar' )
Original file line number Diff line number Diff line change 1- # Mon Jul 11 21:05:38 COT 2022
21distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
42distributionPath =wrapper/dists
5- zipStorePath = wrapper/dists
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
64zipStoreBase =GRADLE_USER_HOME
5+ zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 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 />
You can’t perform that action at this time.
0 commit comments