Checking if we can remove some lines from the Travis file to speed up build time
This commit is contained in:
parent
4845fb7865
commit
85fbbaaa6d
3 changed files with 8 additions and 15 deletions
20
.travis.yml
20
.travis.yml
|
@ -1,23 +1,15 @@
|
||||||
language: android
|
language: android
|
||||||
dist: trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6
|
dist: trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6
|
||||||
|
|
||||||
android:
|
|
||||||
components:
|
|
||||||
# Uncomment the lines below if you want to
|
|
||||||
# use the latest revision of Android SDK Tools
|
|
||||||
- tools
|
|
||||||
- platform-tools
|
|
||||||
|
|
||||||
# The BuildTools version used by your project
|
|
||||||
- build-tools-29.0.2
|
|
||||||
|
|
||||||
# The SDK version used to compile your project
|
|
||||||
- android-29
|
|
||||||
|
|
||||||
|
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
|
android:
|
||||||
|
components:
|
||||||
|
- build-tools-29.0.2 # The BuildTools version used by the project
|
||||||
|
- android-29 # The SDK version used to compile the project
|
||||||
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ allprojects {
|
||||||
|
|
||||||
version = '1.0.1'
|
version = '1.0.1'
|
||||||
ext {
|
ext {
|
||||||
appName = "unciv-game"
|
appName = "Unciv"
|
||||||
gdxVersion = '1.9.10'
|
gdxVersion = '1.9.10'
|
||||||
roboVMVersion = '2.3.1'
|
roboVMVersion = '2.3.1'
|
||||||
box2DLightsVersion = '1.4'
|
box2DLightsVersion = '1.4'
|
||||||
|
|
|
@ -29,6 +29,7 @@ task dist(type: Jar) {
|
||||||
// see Laurent1967's comment on https://github.com/libgdx/libgdx/issues/5491
|
// see Laurent1967's comment on https://github.com/libgdx/libgdx/issues/5491
|
||||||
from {configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }}
|
from {configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }}
|
||||||
from files(project.assetsDir)
|
from files(project.assetsDir)
|
||||||
|
archiveFileName = "${appName}.jar"
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': project.mainClassName
|
attributes 'Main-Class': project.mainClassName
|
||||||
|
|
Loading…
Reference in a new issue