Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String Encode #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ app/.DS_Store
.idea/*
gradle/.DS_Store
build/
localRepo/
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ BlackObfuscator {
}

dependencies {

implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
Expand Down
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
</intent-filter>
</activity>
</application>

</manifest>
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {

repositories {
google()
mavenCentral()
Expand All @@ -8,13 +9,16 @@ buildscript {
url uri('./localRepo')
}
}

dependencies {
classpath "com.android.tools.build:gradle:4.2.0"
classpath "top.niunaijun.blackobfuscator:plugin:1.0.0"
//classpath "com.github.CodingGay:BlackObfuscator-ASPlugin:3.7"
classpath "top.niunaijun.blackobfuscator:plugin:1.0.3"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

}

allprojects {
Expand Down
8 changes: 3 additions & 5 deletions local.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/Users/milk/Library/Android/sdk
#Sat Apr 02 12:21:53 CST 2022
sdk.dir=H\:\\AS\\SDK
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eb035af7c6ce60caf3ab9c762a96e98d
2cc479f7df8b0401cee0ff12e5ed48ae
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eaab39a87530bce1ff233150bed9bd1c786c64d1
bae29a1184ce71fb538fefc617dfea07294bdab3
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
<artifactId>plugin</artifactId>
<version>1.0.0</version>
<dependencies>
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>gradle</artifactId>
<version>3.3.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>transform-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e072c183806d331aa32ac8863534a4ce
4dfa616d9a3575f09dc1336592899ea6
Original file line number Diff line number Diff line change
@@ -1 +1 @@
76b4be6ced264f6379d490e0d7331dd732df1641
3770cd6d1e57dc5269842e67e496ecb2fa313479
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d9e5bbd2a5c31b0f861e067ac373aa6e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cba454afc51b76ea3ace6095464a2b50afb70de2
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>top.niunaijun.blackobfuscator</groupId>
<artifactId>plugin</artifactId>
<version>1.0.1</version>
<dependencies>
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>transform-api</artifactId>
<version>1.5.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.CodingGay.BlackObfuscator</groupId>
<artifactId>dex-tools</artifactId>
<version>2.1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6393228b2c72a38d646a5e7b0eea4456
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
87072021313e113b29a7ea4025008259e99ae6b1
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
27c6777a52f527a7efbb4df32c2512e5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
598f1ed21cb1b5d89a1ea9ee0123211f21ed67d3
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>top.niunaijun.blackobfuscator</groupId>
<artifactId>plugin</artifactId>
<version>1.0.2</version>
<dependencies>
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>transform-api</artifactId>
<version>1.5.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.CodingGay.BlackObfuscator</groupId>
<artifactId>dex-tools</artifactId>
<version>2.1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8a8b34cb96bc02a875597ce209302e46
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
655283ab363374fc0ea086307d4a4ed80c7c1572
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
249debbf4b43fda9b1264184482cc43c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
531ad837be966650c1987f0a234c1550eda92cd8
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>top.niunaijun.blackobfuscator</groupId>
<artifactId>plugin</artifactId>
<version>1.0.3</version>
<dependencies>
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>transform-api</artifactId>
<version>1.5.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.CodingGay.BlackObfuscator</groupId>
<artifactId>dex-tools</artifactId>
<version>2.1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8ddca8ad0f0d91ee7c7e3e2dd68db17a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
91ebe6cff18e41e3cf495bd2b5f70eafb98a8da9
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fa2641d8ceb1ad8dfd89cf2cd2e99592
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
50300b26c1c185a9f17a1b8af740311877f352a6
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>top.niunaijun.blackobfuscator</groupId>
<artifactId>plugin</artifactId>
<version>1.0.4</version>
<dependencies>
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>transform-api</artifactId>
<version>1.5.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.CodingGay.BlackObfuscator</groupId>
<artifactId>dex-tools</artifactId>
<version>2.1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c4ff871445e1f4271eb1e4194c7ecbd8
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dd6612e814a361a39f252c50871c47300f8aafaa
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
<groupId>top.niunaijun.blackobfuscator</groupId>
<artifactId>plugin</artifactId>
<versioning>
<release>1.0.0</release>
<release>1.0.6</release>
<versions>
<version>1.0.0</version>
<version>1.0.1</version>
<version>1.0.2</version>
<version>1.0.3</version>
<version>1.0.4</version>
<version>1.0.5</version>
<version>1.0.6</version>
</versions>
<lastUpdated>20220113045741</lastUpdated>
<lastUpdated>20220403075502</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4e0ad7fcf21d4047bf1348dbbbeae58
4b729cb58ee37a658cdbdeaec5886621
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ef65fe9ba949d79e0d61ed67e5197027f3a5221b
7e2a31627f480aa71549c5dcdff74da5746fba66
29 changes: 12 additions & 17 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apply plugin: 'groovy'
//apply plugin: 'maven'
apply plugin: 'com.github.dcendents.android-maven'

apply plugin: 'maven'
//apply plugin: 'com.github.dcendents.android-maven'
group='top.niunaijun.blackobfuscator'
dependencies {
implementation "com.android.tools.build:gradle:3.3.1"
//implementation "com.android.tools.build:gradle:3.3.1"
compileOnly "com.android.tools.build:gradle:4.0.1"
implementation "com.android.tools.build:transform-api:1.5.0"
implementation "commons-io:commons-io:2.5"
//gradle sdk
Expand All @@ -22,16 +22,11 @@ repositories {
}

group='top.niunaijun.blackobfuscator'
version='1.0.0'
//uploadArchives {
// repositories {
// mavenDeployer {
// //提交到远程服务器:
// // repository(url: "http://www.xxx.com/repos") {
// // authentication(userName: "admin", password: "admin")
// // }
// //本地的Maven地址设置为E:/Maven
// repository(url: uri('../localRepo'))
// }
// }
//}
version='1.0.6'
uploadArchives {
repositories{
mavenDeployer {
repository(url: uri('../localRepo'))
}
}
}
Loading