Skip to content

Commit cf08c2b

Browse files
committed
v4.0.1
1 parent 6fb8987 commit cf08c2b

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ android {
4848
sourceCompatibility 1.8
4949
targetCompatibility 1.8
5050
}
51+
52+
aaptOptions {
53+
noCompress "json"
54+
}
5155
}
5256

5357
repositories {

app/src/main/java/com/efraespada/stringobfuscator/MainActivity.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ protected void onCreate(Bundle savedInstanceState) {
4444
((TextView) findViewById(R.id.same_value)).setText(areEquals);
4545

4646
String jsonObjectName = SC.reveal(R.string.asset_json_file);
47-
SC.asset().asyncJson(jsonObjectName, json -> ((TextView) findViewById(R.id.json_object)).setText(json.toString()));
47+
SC.asset().asyncJson(jsonObjectName, json ->
48+
((TextView) findViewById(R.id.json_object)).setText(json.toString())
49+
);
4850
SC.asset().asyncBytes(jsonObjectName, bytes -> ((TextView) findViewById(R.id.json_object_original)).setText(new String(bytes)), false);
4951

5052
String jsonArrayName = SC.reveal(R.string.asset_json_raw_file);

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
ext.kotlin_version = '1.4.0'
44

55
ext {
6-
stringcare_version = '4.0.0'
6+
stringcare_version = '4.0.1'
77
}
88

99
repositories {
@@ -16,13 +16,14 @@ buildscript {
1616
}
1717

1818
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')
2121
classpath 'com.android.tools.build:gradle:4.0.1'
22-
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
22+
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5"
2323
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
2424
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2525
}
26+
2627
}
2728

2829
allprojects {

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions'
44
apply plugin: 'com.github.dcendents.android-maven'
55
apply plugin: 'com.jfrog.bintray'
66

7-
version = "4.0.0"
7+
version = "4.0.1"
88

99
android {
1010
compileSdkVersion 30

0 commit comments

Comments
 (0)