Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsummer233 committed Jan 24, 2025
1 parent 491d6aa commit 8bf1512
Show file tree
Hide file tree
Showing 31 changed files with 26 additions and 23 deletions.
22 changes: 18 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,17 @@ android {
}

dependencies {
compileOnly(project(":hidden-api"))
compileOnly(projects.hiddenApi)
compileOnly(libs.xposed.api)

implementation(libs.core)
implementation(libs.recyclerview)
implementation(libs.fragment)
implementation(libs.coordinatorlayout)
implementation(libs.constraintlayout) {
exclude("androidx.appcompat", "appcompat")
}

implementation(libs.dexkit)
implementation(libs.mmkv)
implementation(libs.ezxhelper)
Expand All @@ -236,7 +244,13 @@ dependencies {
implementation(libs.lyric.getter.api)
implementation(libs.lunarcalendar)

implementation(project(":provision"))
implementation(project(":processor"))
annotationProcessor(project(":processor"))
implementation(
fileTree(
mapOf("dir" to "libs", "include" to listOf("*-debug.aar"))
)
)

// implementation(projects.provision)
implementation(projects.processor)
annotationProcessor(projects.processor)
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ autoService = "1.1.1"

annotation = "1.9.1"
core = "1.15.0"
collection = "1.4.5"
fragment = "1.8.5"
lunarcalendar = "latest.release"
recyclerview = "1.4.0"
lifecycle-common = "2.8.7"
coordinatorlayout = "1.2.0"
constraintlayout = "2.2.0"

Expand All @@ -27,12 +25,10 @@ mmkv = "2.0.2"
[libraries]
annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
core = { group = "androidx.core", name = "core", version.ref = "core" }
collection = { group = "androidx.collection", name = "collection", version.ref = "collection" }
fragment = { group = "androidx.fragment", name = "fragment", version.ref = "fragment" }
hooktool = { module = "com.github.HChenX:HookTool", version.ref = "hooktool" }
lunarcalendar = { module = "com.xhinliang:LunarCalendar", version.ref = "lunarcalendar" }
recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" }
lifecycle-common = { group = "androidx.lifecycle", name = "lifecycle-common", version.ref = "lifecycle-common" }

auto-service = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
coordinatorlayout = { group = "androidx.coordinatorlayout", name = "coordinatorlayout", version.ref = "coordinatorlayout" }
Expand Down
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#Mon Dec 02 18:59:36 CST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://mirrors.cloud.tencent.com/gradle/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
14 changes: 5 additions & 9 deletions provision/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ android {
namespace = "com.sevtinge.provision"
compileSdk = 35

defaultConfig {
minSdk = 26
}

buildTypes {
release {
isMinifyEnabled = false
Expand Down Expand Up @@ -54,18 +58,10 @@ android {

dependencies {
api(libs.core)
api(libs.collection)
api(libs.recyclerview)
api(libs.fragment)
api(libs.lifecycle.common)
api(libs.coordinatorlayout)
api(libs.constraintlayout) {
exclude("androidx.appcompat", "appcompat")
}

api(
fileTree(
mapOf("dir" to "libs", "include" to listOf("*-debug.aar"))
)
)
}
}
6 changes: 2 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@file:Suppress("UnstableApiUsage")

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

pluginManagement {
repositories {
Expand All @@ -18,11 +19,8 @@ dependencyResolutionManagement {
maven("https://api.xposed.info")
google()
mavenCentral()
flatDir {
dirs("provision/libs")
}
}
}

rootProject.name = "HyperCeiler"
include(":app", "provision", "processor", "hidden-api")
include(":app", "provision", "processor", "hidden-api")

0 comments on commit 8bf1512

Please sign in to comment.