From f49704200d1b2ec1054f7705caed4469a7a68c0e Mon Sep 17 00:00:00 2001 From: Nullptr <52071314+Dr-TSNG@users.noreply.github.com> Date: Sun, 15 May 2022 10:51:52 +0800 Subject: [PATCH] Gradle --- app/build.gradle.kts | 20 ++++++++++---------- gradle/wrapper/gradle-wrapper.properties | 2 +- settings.gradle.kts | 12 ++++++++++++ 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 12a9438..594f1b1 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("com.android.application") id("kotlin-android") id("top.niunaijun.blackobfuscator") -// id("icu.nullptr.stringfuck") version "0.2.1" + id("icu.nullptr.stringfuck") } android { @@ -38,17 +38,17 @@ BlackObfuscator { setObfClass("xfk233.genshinproxy") } -//stringFuck { -// setKey("xfk233") -// isPrintDebugInfo = false -// isWorkOnDebug = true -// isWhiteList = false -// obfuscationList = setOf("xfk233.genshinproxy") -//} +stringFuck { + setKey("xfk233") + isPrintDebugInfo = false + isWorkOnDebug = true + isWhiteList = false + obfuscationList = setOf("xfk233.genshinproxy") +} dependencies { compileOnly("de.robv.android.xposed:api:82") compileOnly("de.robv.android.xposed:api:82:sources") implementation("com.github.kyuubiran:EzXHelper:0.9.2") - implementation("icu.nullptr.stringfuck:library:0.2.1") -} \ No newline at end of file + implementation("icu.nullptr.stringfuck:library:0.2.2") +} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2a8ff65..55d2082 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Sat May 14 18:18:27 CST 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME diff --git a/settings.gradle.kts b/settings.gradle.kts index 41b41a7..e1c6888 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,5 +6,17 @@ dependencyResolutionManagement { jcenter() // Warning: this repository is going to shut down soon } } + +pluginManagement { + repositories { + gradlePluginPortal() + google() + mavenCentral() + } + plugins { + id("icu.nullptr.stringfuck") version "0.2.2" + } +} + rootProject.name = "GenshinProxy" include(":app")