mirror of
https://github.com/ARMSX2/ARMSX1.git
synced 2026-08-24 16:53:35 -07:00
- Added iOS support for landscape orientation in AppDelegate. - Created Android build configuration for ARMSX application. - Implemented ProGuard rules for SDL and ARMSX modules. - Defined AndroidManifest.xml with necessary permissions and activities. - Developed ARMSXModule for React Native to handle emulator loading. - Created ARMSXPackage to register the native module. - Implemented EmulatorActivity to manage SDL lifecycle and arguments. - Developed OverlayActivity for React Native UI integration. - Configured Gradle settings for React Native and Android dependencies. - Added helper classes for React Native activity management.
42 lines
1.0 KiB
Groovy
42 lines
1.0 KiB
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.5.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'com.android.application' version '8.5.2' apply false
|
|
id 'com.android.library' version '8.5.2' apply false
|
|
}
|
|
|
|
apply plugin: 'com.facebook.react.rootproject'
|
|
|
|
ext {
|
|
minSdkVersion = 26
|
|
targetSdkVersion = 34
|
|
compileSdkVersion = 34
|
|
ndkVersion = '27.0.12077973'
|
|
kotlinVersion = '1.9.24'
|
|
}
|
|
|
|
allprojects { project ->
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url "$rootDir/../node_modules/react-native/android" }
|
|
}
|
|
|
|
configurations.all { config ->
|
|
config.resolutionStrategy.eachDependency { details ->
|
|
if (details.requested.group == 'org.jetbrains.kotlin' && details.requested.name == 'kotlin-gradle-plugin') {
|
|
details.useVersion(rootProject.ext.kotlinVersion)
|
|
}
|
|
}
|
|
}
|
|
}
|