forked from LSPosed/LSParanoid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7030aea
commit 68a0298
Showing
88 changed files
with
813 additions
and
60,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
allprojects { | ||
group = "org.lsposed.lsparanoid" | ||
version = "0.4.0" | ||
|
||
val javaVersion by extra(JavaVersion.VERSION_11) | ||
val kotlinVersion by extra("1.8.0") | ||
val pabloVersion by extra("1.3.1") | ||
|
||
val asmVersion by extra("9.2") | ||
val gripVersion by extra("0.8.1") | ||
val logbackVersion by extra("1.2.7") | ||
|
||
val junitVersion by extra("4.13.2") | ||
|
||
val androidToolsVersion by extra("7.4.1") | ||
val androidxAppcompatVersion by extra("1.4.0") | ||
val androidxAnnotationVersion by extra("1.3.0") | ||
|
||
val androidxRulesVersion by extra("1.4.0") | ||
val androidxRunnerVersion by extra("1.4.0") | ||
val androidxTestExtJunitVersion by extra("1.1.3") | ||
val androidxEspressoVersion by extra("3.4.0") | ||
|
||
val androidBuildToolsVersion by extra("33.0.1") | ||
val androidCompileSdkVersion by extra(33) | ||
val androidMinSdkVersion by extra(16) | ||
val androidTargetSdkVersion by extra(androidCompileSdkVersion) | ||
|
||
buildscript { | ||
repositories { | ||
google() | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
classpath("com.android.tools.build:gradle:$androidToolsVersion") | ||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") | ||
} | ||
} | ||
|
||
repositories { | ||
google() | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
plugins { | ||
`java-library` | ||
`maven-publish` | ||
signing | ||
} | ||
|
||
val javaVersion: JavaVersion by extra | ||
|
||
java { | ||
sourceCompatibility = javaVersion | ||
targetCompatibility = javaVersion | ||
} | ||
|
||
publishing { | ||
publications { | ||
register<MavenPublication>("lsparanoid") { | ||
artifactId = "core" | ||
group = group | ||
version = version | ||
pom { | ||
name.set("core") | ||
description.set("String obfuscator for Android applications") | ||
url.set("https://github.com/LSPosed/LSParanoid") | ||
licenses { | ||
license { | ||
name.set("Apache License 2.0") | ||
url.set("https://github.com/libxposed/service/blob/master/LICENSE") | ||
} | ||
} | ||
developers { | ||
developer { | ||
name.set("LSPosed") | ||
url.set("https://lsposed.org") | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:https://github.com/LSPosed/LSParanoid.git") | ||
url.set("https://github.com/LSPosed/LSParanoid") | ||
} | ||
} | ||
afterEvaluate { | ||
from(components.getByName("java")) | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
name = "ossrh" | ||
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") | ||
credentials(PasswordCredentials::class) | ||
} | ||
maven { | ||
name = "GitHubPackages" | ||
url = uri("https://maven.pkg.github.com/LSPosed/LSParanoid") | ||
credentials { | ||
username = System.getenv("GITHUB_ACTOR") | ||
password = System.getenv("GITHUB_TOKEN") | ||
} | ||
} | ||
} | ||
} | ||
|
||
signing { | ||
val signingKey = findProperty("signingKey") as String? | ||
val signingPassword = findProperty("signingPassword") as String? | ||
if (signingKey != null && signingPassword != null) { | ||
useInMemoryPgpKeys(signingKey, signingPassword) | ||
} | ||
sign(publishing.publications) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.