Skip to content

Commit

Permalink
opt: 项目文件整理
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed Jan 19, 2025
1 parent 6fec459 commit cf5af27
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 84 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ android {
}

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

implementation(libs.dexkit)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions app/processor/build.gradle

This file was deleted.

14 changes: 14 additions & 0 deletions app/processor/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
plugins {
id("java-library")
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

dependencies {
implementation(libs.auto.service)
annotationProcessor(libs.auto.service)
}
54 changes: 0 additions & 54 deletions app/proguard-log.pro

This file was deleted.

33 changes: 23 additions & 10 deletions app/provision/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,33 @@ android {
compileSdk = 35

defaultConfig {
minSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
create("beta") {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
create("canary") {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
debug {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_22
targetCompatibility = JavaVersion.VERSION_22

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
}

Expand All @@ -41,5 +50,9 @@ dependencies {
exclude("androidx.appcompat", "appcompat")
}

api(fileTree(mapOf("dir" to "../libs", "include" to listOf("*-${buildTypes}.aar"))))
api(
fileTree(
mapOf("dir" to "../libs", "include" to listOf("*-${buildTypes}.aar"))
)
)
}
4 changes: 0 additions & 4 deletions app/provision/src/main/AndroidManifest.xml

This file was deleted.

3 changes: 1 addition & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ dependencyResolutionManagement {
}

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

0 comments on commit cf5af27

Please sign in to comment.