mirror of
https://github.com/love2d/love-android.git
synced 2026-08-15 15:51:20 +02:00
0e41ef20b3
* Update dependencies and target SDK * Update Gradle to 6.6.1 * Update target API level to 30 * Update AGP to 4.0.1 * Update Android Build Dependencies (androidx.appcompat:appcompat:1.2.0, androidx.multidex:multidex:2.0.1) * Update readme * Move /sdcard/lovegame directory. (closes #194) * Potentially fixes black screen when reopening LOVE from app drawer (fixes #190) * Downloader cleanup. * Merge SDL AndroidManifest.xml to LOVE * Implement partial "Share to LOVE" support. * Enable resizeableActivity
44 lines
988 B
Groovy
44 lines
988 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion '30.0.2'
|
|
ndkVersion '21.3.6528147'
|
|
defaultConfig {
|
|
applicationId 'org.love2d.android'
|
|
versionCode 29
|
|
versionName '11.3a'
|
|
minSdkVersion 14
|
|
targetSdkVersion 30
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
flavorDimensions 'mode'
|
|
productFlavors {
|
|
normal {
|
|
dimension 'mode'
|
|
}
|
|
playstore {
|
|
dimension 'mode'
|
|
}
|
|
embed {
|
|
dimension 'mode'
|
|
applicationIdSuffix '.embed'
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api 'androidx.multidex:multidex:2.0.1'
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
api 'androidx.appcompat:appcompat:1.2.0'
|
|
api project(':love')
|
|
}
|