Minor build file fixes

This commit is contained in:
Anuken
2018-12-29 15:58:11 -05:00
parent 86b35fc43d
commit 7c35b6e95a
4 changed files with 402 additions and 408 deletions

View File

@@ -8,9 +8,11 @@ buildscript{
maven{ url "https://oss.sonatype.org/content/repositories/snapshots/" } maven{ url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter() jcenter()
} }
dependencies{ dependencies{
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.5' classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.5'
classpath "com.badlogicgames.gdx:gdx-tools:1.9.9" classpath "com.badlogicgames.gdx:gdx-tools:1.9.9"
classpath files('tools/filters.jar')
} }
} }
@@ -40,7 +42,7 @@ allprojects{
}catch(e){ //github can get angry sometimes }catch(e){ //github can get angry sometimes
arcHash = "-SNAPSHOT"; arcHash = "-SNAPSHOT";
} }
} }
return arcHash return arcHash
} }
@@ -87,7 +89,6 @@ allprojects{
}catch(Exception ignored){} }catch(Exception ignored){}
if(pfile.exists()){ if(pfile.exists()){
props.load(new FileInputStream(pfile)) props.load(new FileInputStream(pfile))
String buildid = getBuildVersion() String buildid = getBuildVersion()
@@ -196,7 +197,7 @@ project(":core"){
build.finalizedBy(finish) build.finalizedBy(finish)
//forces JITPack to compile arc and its submodules //forces JITPack to compile arc and its submodules
if(!localArc()) compile "com.github.anuken:arc:${getArcHash()}" if(!localArc()) compile "com.github.Anuken.Arc:${getArcHash()}"
compile arcModule("arc-core") compile arcModule("arc-core")
compile arcModule("extensions:freetype") compile arcModule("extensions:freetype")

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 KiB

After

Width:  |  Height:  |  Size: 323 KiB

View File

@@ -7,7 +7,7 @@ import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.tools.texturepacker.TexturePacker import com.badlogic.gdx.tools.texturepacker.TexturePacker
import javax.imageio.ImageIO import javax.imageio.ImageIO
import java.awt.image.BufferedImage import java.awt.image.BufferedImage
def outFolder = "../core/assets-raw/sprites_out/" def outFolder = "../core/assets-raw/sprites_out/"
def genFolder = "../core/assets-raw/sprites_out/generated/" def genFolder = "../core/assets-raw/sprites_out/generated/"
@@ -123,7 +123,7 @@ task scaleSprites(){
task pack(){ task pack(){
dependsOn 'cleanSprites', 'scaleSprites' dependsOn 'cleanSprites', 'scaleSprites'
finalizedBy 'cleanup' //finalizedBy 'cleanup'
doLast{ doLast{