Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
bump to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-TSNG committed Mar 29, 2023
1 parent 8a29111 commit b1af17f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 29 deletions.
26 changes: 13 additions & 13 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import java.nio.file.Paths
import java.util.Properties

plugins {
id("com.android.application")
id("org.lsposed.lsparanoid")
id("org.lsposed.lsplugin.apktransform")
kotlin("android")
alias(libs.plugins.agp.app)
alias(libs.plugins.kotlin)
alias(libs.plugins.lsparanoid)
alias(libs.plugins.lsplugin.apktransform)
}

val properties = Properties()
Expand All @@ -27,7 +27,7 @@ fun String.execute(currentWorkingDir: File = file("./")): String {
return String(byteOut.toByteArray()).trim()
}

val verName = "1.9"
val verName = "2.0"
val gitCommitCount = "git rev-list HEAD --count".execute().toInt()
val gitCommitHash = "git rev-parse --verify --short HEAD".execute()

Expand Down Expand Up @@ -128,14 +128,14 @@ android {
}

dependencies {
compileOnly("de.robv.android.xposed:api:82")
implementation("androidx.documentfile:documentfile:1.0.1")
implementation("androidx.recyclerview:recyclerview:1.2.1")
implementation("com.github.kyuubiran:EzXHelper:2.0.0-RC7")
implementation("com.tencent:mmkv:1.2.15")
implementation("dev.rikka.ndk.thirdparty:cxx:1.2.0")
implementation("dev.rikka.ndk.thirdparty:nativehelper:1.0.0")
implementation("org.luckypray:DexKit:1.1.2")
compileOnly(libs.legacy.xposed.api)
implementation(libs.androidx.documentfile)
implementation(libs.androidx.recyclerview)
implementation(libs.dexkit)
implementation(libs.ezxhelper)
implementation(libs.mmkv)
implementation(libs.ndk.cxx)
implementation(libs.ndk.nativehelper)
}

val adbExecutable: String = androidComponents.sdkComponents.adb.get().asFile.absolutePath
Expand Down
11 changes: 0 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
buildscript {
repositories {
google()
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
classpath("com.android.tools.build:gradle:7.4.2")
}
}

tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}
22 changes: 22 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[versions]
agp = "7.4.2"
kotlin = "1.8.10"

[plugins]
agp-app = { id = "com.android.application", version.ref = "agp" }
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
lsparanoid = { id = "org.lsposed.lsparanoid", version = "0.5.2" }
lsplugin-apktransform = { id = "org.lsposed.lsplugin.apktransform", version = "1.2" }

[libraries]
legacy-xposed-api = { group = "de.robv.android.xposed", name = "api", version = "82" }
androidx-documentfile = { group = "androidx.documentfile", name = "documentfile", version = "1.0.1" }
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version = "1.3.0" }
dexkit = { group = "org.luckypray", name = "DexKit", version = "1.1.2" }
ezxhelper = { group = "com.github.kyuubiran", name = "EzXHelper", version = "2.0.0-RC7" }
mmkv = { group = "com.tencent", name = "mmkv", version = "1.2.15" }
ndk-cxx = { group = "dev.rikka.ndk.thirdparty", name = "cxx", version = "1.2.0" }
ndk-nativehelper = { group = "dev.rikka.ndk.thirdparty", name = "nativehelper", version = "1.0.0" }

kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version = "1.6.4" }
5 changes: 0 additions & 5 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ pluginManagement {
google()
mavenCentral()
}
plugins {
id("org.jetbrains.kotlin.android") version "1.8.10"
id("org.lsposed.lsparanoid") version "0.5.2"
id("org.lsposed.lsplugin.apktransform") version "1.2"
}
}

rootProject.name = "TwiFucker"
Expand Down

0 comments on commit b1af17f

Please sign in to comment.