File tree 6 files changed +22
-17
lines changed
6 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ apply plugin: 'com.android.application'
22
22
apply plugin : ' kotlin-android'
23
23
24
24
android {
25
- compileSdkVersion 30
25
+ compileSdkVersion 31
26
26
27
27
defaultConfig {
28
28
applicationId ' com.hippo.quickjs.test.android'
29
29
minSdkVersion 18
30
- targetSdkVersion 30
30
+ targetSdkVersion 31
31
31
versionCode 1
32
32
versionName ' 1.0'
33
33
externalNativeBuild {
@@ -125,9 +125,9 @@ project.afterEvaluate {
125
125
126
126
dependencies {
127
127
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
128
- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 '
129
- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9 '
130
- implementation ' androidx.core:core:1.3.1 '
128
+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 '
129
+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0 '
130
+ implementation ' androidx.core:core-ktx :1.7.0 '
131
131
implementation ' net.lingala.zip4j:zip4j:1.3.2'
132
132
implementation ' com.getkeepsafe.relinker:relinker:1.3.1'
133
133
}
Original file line number Diff line number Diff line change 26
26
android : label =" quickjs android test"
27
27
tools : ignore =" AllowBackup,GoogleAppIndexingWarning,MissingApplicationIcon" >
28
28
29
- <activity android : name =" com.hippo.quickjs.android.test.TestActivity" >
29
+ <activity
30
+ android : name =" com.hippo.quickjs.android.test.TestActivity"
31
+ android : exported =" true" >
30
32
<intent-filter >
31
33
<action android : name =" android.intent.action.MAIN" />
32
34
<category android : name =" android.intent.category.LAUNCHER" />
Original file line number Diff line number Diff line change 17
17
buildscript {
18
18
repositories {
19
19
google()
20
+ mavenCentral()
21
+ // noinspection JcenterRepositoryObsolete
20
22
jcenter()
23
+ maven { url ' https://plugins.gradle.org/m2/' }
21
24
}
22
25
dependencies {
23
- classpath ' com.android.tools.build:gradle:4.1.1 '
26
+ classpath ' com.android.tools.build:gradle:7.0.3 '
24
27
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
25
28
classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
26
29
classpath ' org.ajoberstar.grgit:grgit-gradle:4.1.0'
@@ -30,6 +33,8 @@ buildscript {
30
33
allprojects {
31
34
repositories {
32
35
google()
36
+ mavenCentral()
37
+ // noinspection JcenterRepositoryObsolete
33
38
jcenter()
34
39
maven { url ' https://jitpack.io' }
35
40
}
Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ android.enableJetifier=true
36
36
# Kotlin code style for this project: "official" or "obsolete":
37
37
kotlin.code.style =official
38
38
39
- kotlin_version =1.4.21
39
+ kotlin_version =1.5.31
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.5 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.2 -all.zip
Original file line number Diff line number Diff line change 17
17
apply plugin : ' com.android.library'
18
18
19
19
android {
20
- compileSdkVersion 30
20
+ compileSdkVersion 31
21
21
22
22
defaultConfig {
23
23
minSdkVersion 18
24
- targetSdkVersion 30
25
- versionCode 1
26
- versionName ' 1.0'
24
+ targetSdkVersion 31
27
25
testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
28
26
externalNativeBuild {
29
27
cmake {
@@ -57,9 +55,9 @@ android {
57
55
}
58
56
59
57
dependencies {
60
- implementation ' androidx.annotation:annotation:1.1 .0'
61
- androidTestImplementation ' androidx.test:core:1.3 .0'
62
- androidTestImplementation ' androidx.test:runner:1.3 .0'
63
- androidTestImplementation ' junit:junit:4.12 '
58
+ implementation ' androidx.annotation:annotation:1.3 .0'
59
+ androidTestImplementation ' androidx.test:core:1.4 .0'
60
+ androidTestImplementation ' androidx.test:runner:1.4 .0'
61
+ androidTestImplementation ' junit:junit:4.13.2 '
64
62
androidTestImplementation ' org.assertj:assertj-core:3.13.2'
65
63
}
You can’t perform that action at this time.
0 commit comments