mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-03 08:41:27 +01:00
android: fix setting the debuggable property for the apk
This commit is contained in:
parent
54a305b3ec
commit
d1fbe5dd49
2 changed files with 11 additions and 3 deletions
|
@ -9,10 +9,18 @@ android {
|
||||||
versionCode ${LIBSUPERDERPY_RELEASE}
|
versionCode ${LIBSUPERDERPY_RELEASE}
|
||||||
versionName "${LIBSUPERDERPY_VERSION}"
|
versionName "${LIBSUPERDERPY_VERSION}"
|
||||||
}
|
}
|
||||||
sourceSets { main { jniLibs.srcDirs = ['libs'] } }
|
sourceSets {
|
||||||
|
main {
|
||||||
|
jniLibs.srcDirs = ['libs']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
buildTypes {
|
||||||
|
debug {
|
||||||
|
debuggable ${LIBSUPERDERPY_ANDROID_DEBUGGABLE}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
//implementation fileTree(dir: 'libs', include: ['*.jar', '*.so'])
|
|
||||||
implementation "org.liballeg.android:allegro:1.0@aar"
|
implementation "org.liballeg.android:allegro:1.0@aar"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="${ANDROID_TARGET_VERSION}" />
|
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="${ANDROID_TARGET_VERSION}" />
|
||||||
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
|
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
|
||||||
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" android:resizeable="true" />
|
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" android:resizeable="true" />
|
||||||
<application android:label="@string/app_name" android:debuggable="${LIBSUPERDERPY_ANDROID_DEBUGGABLE}" android:icon="@mipmap/${LIBSUPERDERPY_GAMENAME}">
|
<application android:label="@string/app_name" android:icon="@mipmap/${LIBSUPERDERPY_GAMENAME}">
|
||||||
<activity android:name="net.dosowisko.libsuperderpy.Activity"
|
<activity android:name="net.dosowisko.libsuperderpy.Activity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
|
|
Loading…
Add table
Reference in a new issue