Feat: Add 'app' subproject and integrate LSPlt submodule
This commit introduces the main application subproject, 'app', and sets up the necessary infrastructure for the TEESimulator. Key changes: * 'app' Subproject Setup: Added the new :app module with its initial structure, including build files, manifest, and Kotlin main entry point. * LSPlt Integration: Added the LSPlt hooking framework as a Git submodule in app/src/main/cpp/external/ and configured its use in CMake. * Native Build Configuration: Configured the C++ build to use LSPlt statically and compile two essential native libraries: libinject.so (for injection) and libTEESimulator.so (for interception/logic). * Module Packaging: Implemented complex Gradle logic within app/build.gradle.kts to automate the creation of a flashable zip module (supporting Magisk, Ksu, and Apatch) with versioning based on Git information. * Initial Module Files: Added the template files (module.prop, update-binary, updater-script) for the flashable module structure.
This commit is contained in:
@@ -11,6 +11,7 @@ tasks.register<KtfmtFormatTask>("format") {
|
||||
source = project.fileTree(rootDir)
|
||||
include("*.gradle.kts", "*/*.gradle.kts")
|
||||
dependsOn(":stub:ktfmtFormat")
|
||||
dependsOn(":app:ktfmtFormat")
|
||||
}
|
||||
|
||||
ktfmt { kotlinLangStyle() }
|
||||
|
||||
Reference in New Issue
Block a user