Bump to v0.8.3, remove more warnings from gradle files

This commit is contained in:
Lonami Exo 2019-09-05 16:25:22 +02:00
parent 7ca72943ad
commit fc6686aba6
2 changed files with 15 additions and 15 deletions

View file

@ -20,10 +20,10 @@ android {
defaultConfig { defaultConfig {
applicationId "dev.lonami.klooni" applicationId "dev.lonami.klooni"
minSdkVersion 8 minSdkVersion 8
targetSdkVersion 25 targetSdkVersion 28
versionCode 820 versionCode 830
versionName "0.8.2" versionName "0.8.3"
} }
} }
@ -32,11 +32,11 @@ android {
// the natives configuration, and extracts them to the proper libs/ folders // the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK. // so they get packed with the APK.
task copyAndroidNatives() { task copyAndroidNatives() {
file("libs/armeabi/").mkdirs(); file("libs/armeabi/").mkdirs()
file("libs/armeabi-v7a/").mkdirs(); file("libs/armeabi-v7a/").mkdirs()
file("libs/arm64-v8a/").mkdirs(); file("libs/arm64-v8a/").mkdirs()
file("libs/x86_64/").mkdirs(); file("libs/x86_64/").mkdirs()
file("libs/x86/").mkdirs(); file("libs/x86/").mkdirs()
configurations.natives.files.each { jar -> configurations.natives.files.each { jar ->
def outputDir = null def outputDir = null
@ -100,7 +100,7 @@ eclipse {
project { project {
name = appName + "-android" name = appName + "-android"
natures 'com.android.ide.eclipse.adt.AndroidNature' natures 'com.android.ide.eclipse.adt.AndroidNature'
buildCommands.clear(); buildCommands.clear()
buildCommand "com.android.ide.eclipse.adt.ResourceManagerBuilder" buildCommand "com.android.ide.eclipse.adt.ResourceManagerBuilder"
buildCommand "com.android.ide.eclipse.adt.PreCompilerBuilder" buildCommand "com.android.ide.eclipse.adt.PreCompilerBuilder"
buildCommand "org.eclipse.jdt.core.javabuilder" buildCommand "org.eclipse.jdt.core.javabuilder"
@ -111,14 +111,14 @@ eclipse {
// sets up the Android Idea project, using the old Ant based build. // sets up the Android Idea project, using the old Ant based build.
idea { idea {
module { module {
sourceDirs += file("src"); sourceDirs += file("src")
scopes = [ COMPILE: [plus:[project.configurations.compile]]] scopes = [ COMPILE: [plus:[project.configurations.compile]]]
iml { iml {
withXml { withXml {
def node = it.asNode() def node = it.asNode()
def builder = NodeBuilder.newInstance(); def builder = NodeBuilder.newInstance()
builder.current = node; builder.current = node
builder.component(name: "FacetManager") { builder.component(name: "FacetManager") {
facet(type: "android", name: "Android") { facet(type: "android", name: "Android") {
configuration { configuration {

View file

@ -41,9 +41,9 @@ project(":desktop") {
dependencies { dependencies {
compile project(":core") implementation project(":core")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
} }
} }