Full but still broken rework of everything

This commit is contained in:
2026-05-08 19:28:57 +02:00
parent e5471b5fa0
commit 3aa0470bcf
56 changed files with 2247 additions and 1552 deletions
+33 -19
View File
@@ -55,14 +55,13 @@ android {
versionCode versionCodeOffset + gitCommitCount
versionName "${majorVersion}.${minorVersion}.${patchVersion}"
/*
externalNativeBuild {
cmake {
cppFlags += ""
arguments "-DANDROID_PLATFORM=android-29"
}
}
*/
// externalNativeBuild disabled - native code not ready yet
// externalNativeBuild {
// cmake {
// cppFlags += ""
// arguments "-DANDROID_PLATFORM=android-29"
// }
// }
ndk {
abiFilters.add("arm64-v8a")
@@ -72,10 +71,29 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
debug {
storeFile file("${System.getProperty('user.home')}/.config/.android/debug.keystore")
keyAlias 'androiddebugkey'
keyPassword 'android'
storePassword 'android'
}
release {
storeFile file("${System.getProperty('user.home')}/.config/.android/debug.keystore")
keyAlias 'androiddebugkey'
keyPassword 'android'
storePassword 'android'
}
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
@@ -102,14 +120,13 @@ android {
}
/*
externalNativeBuild {
cmake {
path file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
}
}
*/
// externalNativeBuild disabled - native code not ready yet
// externalNativeBuild {
// cmake {
// path file("src/main/cpp/CMakeLists.txt")
// version = "3.22.1"
// }
// }
buildFeatures {
compose true
@@ -177,9 +194,6 @@ tasks.register("buildNative", Copy) {
}
dependencies {
legacyCompileOnly "de.robv.android.xposed:api:82"
modernCompileOnly 'io.github.libxposed:api:101.0.0'
modernImplementation 'io.github.libxposed:service:101.0.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.10.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.10.0"
implementation "com.google.accompanist:accompanist-permissions:0.37.3"