Skip to content

Commit

Permalink
bump lsplant and other deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Juby210 committed Aug 15, 2024
1 parent 93a8b85 commit 86ec4a0
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 16 deletions.
26 changes: 17 additions & 9 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ plugins {
}

dependencies {
implementation("org.lsposed.lsplant:lsplant:6.3-aliucord.1")
implementation("org.lsposed.lsplant:lsplant:6.4-aliucord.1")
implementation("io.github.vvb2060.ndk:dobby:1.2")

androidTestImplementation("androidx.test.ext:junit:1.1.3")
androidTestImplementation("androidx.test:runner:1.4.0")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test:runner:1.6.2")
}

android {
compileSdk = 33
buildToolsVersion = "32.0.0"
compileSdk = 35
buildToolsVersion = "35.0.0"
ndkVersion = sdkDirectory.resolve("ndk").listFilesOrdered().last().name
namespace = "com.aliucord.hook.core"

buildFeatures {
buildConfig = false
Expand All @@ -39,7 +40,7 @@ android {

defaultConfig {
minSdk = 21
targetSdk = 33
targetSdk = 35
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

externalNativeBuild {
Expand All @@ -52,14 +53,20 @@ android {
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.18.1"
version = "3.28.0+"
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

publishing {
singleVariant("release") {
withSourcesJar()
}
}
}

// fuck you agp
Expand All @@ -83,7 +90,7 @@ tasks.register("buildDexRelease") {
desugarClasspath = ClassFileProviderFactory(mutableListOf())
.also { closer.register(it) },
coreLibDesugarConfig = null,
coreLibDesugarOutputKeepRuleFile = null,
enableApiModeling = false,
messageReceiver = MessageReceiverImpl(
SyncOptions.ErrorFormatMode.HUMAN_READABLE,
LoggerFactory.getLogger("buildDexRelease")
Expand All @@ -98,7 +105,8 @@ tasks.register("buildDexRelease") {

dexBuilder.convert(
files.stream(),
outputs.files.singleFile.toPath()
outputs.files.singleFile.toPath(),
null
)
}
}
Expand Down
5 changes: 3 additions & 2 deletions example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ plugins {
}

android {
compileSdk 31
compileSdk 35
namespace = "com.aliucord.hook.example"

defaultConfig {
applicationId "com.aliucord.hook.example"
minSdk 21
targetSdk 31
targetSdk 35
versionCode 1
versionName "1.0"
}
Expand Down
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Mar 22 22:53:26 CET 2022
#Thu Aug 15 18:19:44 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ pluginManagement {
mavenCentral()
}
plugins {
id("com.android.application") version "7.3.1"
id("com.android.library") version "7.3.1"
id("com.android.application") version "8.5.2"
id("com.android.library") version "8.5.2"
}
}
dependencyResolutionManagement {
Expand Down

0 comments on commit 86ec4a0

Please sign in to comment.