File tree Expand file tree Collapse file tree 11 files changed +22
-21
lines changed
androidTest/java/com/efraespada/stringobfuscator
main/java/com/efraespada/stringobfuscator
androidTest/java/com/efraespada/stringcarelibrary
main/java/com/stringcare/library Expand file tree Collapse file tree 11 files changed +22
-21
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ android {
14
14
signingConfigs {
15
15
16
16
}
17
- compileSdkVersion 29
17
+ compileSdkVersion 30
18
18
19
19
defaultConfig {
20
20
applicationId " com.efraespada.stringobfuscator"
21
21
minSdkVersion 15
22
- targetSdkVersion 29
22
+ targetSdkVersion 30
23
23
versionCode 1
24
24
versionName " 1.0"
25
25
}
@@ -57,10 +57,10 @@ repositories {
57
57
58
58
dependencies {
59
59
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
60
- androidTestImplementation(' com.android.support. test.espresso:espresso-core:2.2.2 ' , {
60
+ androidTestImplementation(' androidx. test.espresso:espresso-core:3.1.0 ' , {
61
61
exclude group : ' com.android.support' , module : ' support-annotations'
62
62
})
63
- implementation ' com.android.support :appcompat-v7:29.0 .0'
63
+ implementation ' androidx.appcompat :appcompat:1.2 .0'
64
64
testImplementation ' junit:junit:4.12'
65
65
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
66
66
implementation ' commons-io:commons-io:2.5'
Original file line number Diff line number Diff line change 1
1
package com .efraespada .stringobfuscator ;
2
2
3
3
import android .content .Context ;
4
- import android . support . test .InstrumentationRegistry ;
5
- import android . support . test .runner .AndroidJUnit4 ;
4
+ import androidx . test . platform . app .InstrumentationRegistry ;
5
+ import androidx . test .ext . junit . runners .AndroidJUnit4 ;
6
6
7
7
import org .junit .Test ;
8
8
import org .junit .runner .RunWith ;
Original file line number Diff line number Diff line change 1
1
package com .efraespada .stringobfuscator ;
2
2
3
3
import android .os .Bundle ;
4
- import android . support . v7 .app .AppCompatActivity ;
4
+ import androidx . appcompat .app .AppCompatActivity ;
5
5
import android .widget .TextView ;
6
6
7
7
import com .stringcare .library .SC ;
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ buildscript {
16
16
}
17
17
18
18
dependencies {
19
- classpath " com.stringcare:plugin:$stringcare_version "
20
- // classpath files('../KotlinGradlePlugin/build/libs/plugin-4.0.0.jar')
19
+ // classpath "com.stringcare:plugin:$stringcare_version"
20
+ classpath files(' ../KotlinGradlePlugin/build/libs/plugin-4.0.0.jar' )
21
21
classpath ' com.android.tools.build:gradle:4.0.1'
22
22
classpath " com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
23
23
classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
Original file line number Diff line number Diff line change 9
9
10
10
# Specifies the JVM arguments used for the daemon process.
11
11
# The setting is particularly useful for tweaking memory settings.
12
+ android.enableJetifier =true
13
+ android.useAndroidX =true
12
14
org.gradle.jvmargs =-Xmx1536m
13
15
14
16
# When configured, Gradle will run in incubating parallel mode.
Original file line number Diff line number Diff line change @@ -7,15 +7,14 @@ apply plugin: 'com.jfrog.bintray'
7
7
version = " 4.0.0"
8
8
9
9
android {
10
- compileSdkVersion 28
11
- buildToolsVersion ' 28.0.3'
10
+ compileSdkVersion 30
12
11
13
12
defaultConfig {
14
13
minSdkVersion 15
15
- targetSdkVersion 28
14
+ targetSdkVersion 30
16
15
versionCode 4
17
16
versionName version
18
- testInstrumentationRunner " android.support. test.runner.AndroidJUnitRunner"
17
+ testInstrumentationRunner ' androidx. test.runner.AndroidJUnitRunner'
19
18
externalNativeBuild {
20
19
cmake {
21
20
cppFlags " -fexceptions"
@@ -43,10 +42,10 @@ android {
43
42
44
43
dependencies {
45
44
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
46
- androidTestImplementation(' com.android.support. test.espresso:espresso-core:2.2.2 ' , {
45
+ androidTestImplementation(' androidx. test.espresso:espresso-core:3.1.0 ' , {
47
46
exclude group : ' com.android.support' , module : ' support-annotations'
48
47
})
49
- implementation ' com.android.support :appcompat-v7:28.0 .0'
48
+ implementation ' androidx.appcompat :appcompat:1.2 .0'
50
49
implementation ' org.jetbrains.anko:anko:0.10.8'
51
50
implementation ' org.apache.commons:commons-lang3:3.9'
52
51
testImplementation ' junit:junit:4.12'
Original file line number Diff line number Diff line change 1
1
package com .efraespada .stringcarelibrary ;
2
2
3
3
import android .content .Context ;
4
- import android . support . test .InstrumentationRegistry ;
5
- import android . support . test .runner .AndroidJUnit4 ;
4
+ import androidx . test . platform . app .InstrumentationRegistry ;
5
+ import androidx . test .ext . junit . runners .AndroidJUnit4 ;
6
6
7
7
import org .junit .Test ;
8
8
import org .junit .runner .RunWith ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package com.stringcare.library
2
2
3
3
import android.content.Context
4
4
import android.content.res.Resources
5
- import android.support .annotation.StringRes
5
+ import androidx .annotation.StringRes
6
6
import java.nio.charset.Charset
7
7
import kotlin.Exception
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package com.stringcare.library
2
2
3
3
import android.content.Context
4
4
import android.content.res.Resources
5
- import android.support .annotation.StringRes
5
+ import androidx .annotation.StringRes
6
6
import java.nio.charset.Charset
7
7
import javax.crypto.Cipher
8
8
import javax.crypto.spec.SecretKeySpec
Original file line number Diff line number Diff line change 1
1
package com.stringcare.library
2
2
3
3
import android.content.Context
4
- import android.support .annotation.StringRes
4
+ import androidx .annotation.StringRes
5
5
import android.util.Log
6
6
import org.jetbrains.anko.doAsync
7
7
import org.json.JSONArray
Original file line number Diff line number Diff line change 1
1
package com .stringcare .library ;
2
2
3
3
import android .content .Context ;
4
- import android . support . v7 .widget .AppCompatTextView ;
4
+ import androidx . appcompat .widget .AppCompatTextView ;
5
5
import android .text .Html ;
6
6
import android .util .AttributeSet ;
7
7
You can’t perform that action at this time.
0 commit comments