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.
22 lines
351 B
Kotlin
22 lines
351 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "TEESimulator"
|
|
|
|
include(":stub")
|
|
|
|
include(":app")
|