Skip to content

Commit

Permalink
build scripts cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Librazy committed Oct 14, 2018
1 parent 4ba1650 commit 2e831c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
- if [ "$TRAVIS_BRANCH" != "$MC_VERSION" ]; then exit 0; fi
- if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then exit 0; fi
- ./gradlew shadowJar
- cp build/libs/LangUtils.jar ./LangUtils-v$VERSION_STRING.jar
- export GIT_TAG=v$VERSION_STRING
- git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
Expand Down
11 changes: 2 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ ext.majorVersion = 2
ext.minorVersion = 1
ext.minecraftVersion = "1.13.1"

final def BUKKIT_VERSION = '1.13.1-R0.1-SNAPSHOT'

sourceCompatibility = '1.8'

compileJava {
Expand Down Expand Up @@ -46,7 +44,7 @@ publishing {
publications {
maven(MavenPublication) {
artifactId 'LangUtils'

version "$majorVersion.$minorVersion-SNAPSHOT"
from components.java
artifact sourcesJar
artifact javadocJar
Expand All @@ -73,14 +71,9 @@ repositories {
}
}

//noinspection GroovyAssignabilityCheck
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.10'
testCompile group: 'org.powermock', name: 'powermock-api-mockito', version: '1.6.2'
testCompile group: 'org.powermock', name: 'powermock-module-junit4', version: '1.6.2'

//Bukkit API and libraries
compile group: 'org.spigotmc', name: 'spigot-api', version: BUKKIT_VERSION
compile "org.spigotmc:spigot-api:$minecraftVersion-R0.1-SNAPSHOT"
}

javadoc {
Expand Down

0 comments on commit 2e831c7

Please sign in to comment.