mirror of
https://github.com/rust-mobile/android-activity.git
synced 2026-07-09 16:27:28 +00:00
60 lines
1.5 KiB
Groovy
60 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
ndkVersion "25.2.9519653"
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
applicationId "co.realfit.agdkmainloop"
|
|
minSdk 28
|
|
targetSdk 31
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
minifyEnabled false
|
|
//packagingOptions {
|
|
// doNotStrip '**/*.so'
|
|
//}
|
|
//debuggable true
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
namespace 'co.realfit.agdkmainloop'
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation "androidx.core:core:1.5.0"
|
|
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
|
|
implementation 'androidx.fragment:fragment:1.2.5'
|
|
implementation 'com.google.oboe:oboe:1.5.0'
|
|
|
|
// To use the Android Frame Pacing library
|
|
//implementation "androidx.games:games-frame-pacing:1.9.1"
|
|
|
|
// To use the Android Performance Tuner
|
|
//implementation "androidx.games:games-performance-tuner:1.5.0"
|
|
|
|
// To use the Games Activity library
|
|
implementation "androidx.games:games-activity:4.0.0"
|
|
|
|
// To use the Games Controller Library
|
|
//implementation "androidx.games:games-controller:2.0.2"
|
|
|
|
// To use the Games Text Input Library
|
|
//implementation "androidx.games:games-text-input:2.0.2"
|
|
}
|
|
|