-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
65 changed files
with
2,580 additions
and
576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,10 @@ script: ./gradlew build | |
notifications: | ||
email: false | ||
|
||
before_install: | ||
- git config --global user.name "Lapislazuli" | ||
- git config --global user.email "[email protected]" | ||
|
||
before_script: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
node { | ||
def win = System.properties['os.name'].startsWith('Windows') | ||
|
||
stage 'Stage Checkout' | ||
checkout scm | ||
if (win) { | ||
bat 'git submodule update --init' | ||
} else { | ||
sh 'git submodule update --init' | ||
} | ||
|
||
stage 'Stage Build' | ||
def ver = version() | ||
echo "Building version ${ver} on branch ${env.BRANCH_NAME}" | ||
if (win) { | ||
bat "./gradlew -PBUILD_NUMBER=${env.BUILD_NUMBER}" | ||
} else { | ||
sh "./gradlew -PBUILD_NUMBER=${env.BUILD_NUMBER}" | ||
} | ||
|
||
stage 'Stage Archive' | ||
step([$class: 'ArtifactArchiver', artifacts: 'build/libs/*.jar', excludes: 'build/libs/*-base.jar', | ||
fingerprint: true]) | ||
} | ||
|
||
def version() { | ||
def matcher = readFile('build.gradle') =~ 'version = \'(.+)\'' | ||
matcher ? matcher[0][1] : null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sun Mar 27 23:56:52 BST 2016 | ||
#Tue Aug 16 18:34:06 EDT 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.