File tree Expand file tree Collapse file tree 4 files changed +36
-18
lines changed
Expand file tree Collapse file tree 4 files changed +36
-18
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,12 @@ group 'com.w3conext.jailbreak_root_detection'
22version ' 1.0-SNAPSHOT'
33
44buildscript {
5- ext. kotlin_version = ' 1.9.10'
6- repositories {
7- google()
8- mavenCentral()
9- }
10-
11- dependencies {
12- classpath ' com.android.tools.build:gradle:8.7.3'
13- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
14- }
5+ ext. kotlin_version = ' 2.2.0'
156}
167
178allprojects {
189 repositories {
10+ gradlePluginPortal()
1911 google()
2012 mavenCentral()
2113 }
@@ -29,13 +21,15 @@ android {
2921 namespace ' com.w3conext.jailbreak_root_detection'
3022 }
3123
24+ compileSdkVersion 36
25+
3226 compileOptions {
3327 sourceCompatibility JavaVersion . VERSION_17
3428 targetCompatibility JavaVersion . VERSION_17
3529 }
3630
3731 kotlinOptions {
38- jvmTarget = ' 17 '
32+ jvmTarget = " 17 "
3933 }
4034
4135 sourceSets {
@@ -44,13 +38,16 @@ android {
4438
4539 defaultConfig {
4640 minSdkVersion 21
47- compileSdk 33
4841 }
49-
42+
43+ lintOptions {
44+ disable ' InvalidPackage'
45+ }
46+
5047}
5148
5249dependencies {
5350 implementation " androidx.annotation:annotation:1.9.1"
5451 implementation ' com.scottyab:rootbeer-lib:0.1.1'
55- implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 "
56- }
52+ implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2 "
53+ }
Original file line number Diff line number Diff line change 1+ pluginManagement {
2+ repositories {
3+ google()
4+ mavenCentral()
5+ gradlePluginPortal()
6+ }
7+ }
8+
9+ plugins {
10+ id " com.android.library" version " 8.6.0" apply false
11+ id " org.jetbrains.kotlin.android" version " 2.1.0" apply false
12+ }
13+
14+ dependencyResolutionManagement {
15+ repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
16+ repositories {
17+ google()
18+ mavenCentral()
19+ }
20+ }
21+
122rootProject. name = ' jailbreak_root_detection'
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =wrapper/dists
5- distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-all .zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.9-bin .zip
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ pluginManagement {
1818
1919plugins {
2020 id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
21- id " com.android.application" version " 8.1 .0" apply false
22- id " org.jetbrains.kotlin.android" version " 1.8.22 " apply false
21+ id " com.android.application" version " 8.6 .0" apply false
22+ id ' org.jetbrains.kotlin.android' version " 2.1.0 " apply false
2323}
2424
2525include " :app"
You can’t perform that action at this time.
0 commit comments