Skip to content

Commit

Permalink
Fix gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Takakura-Anri committed Mar 21, 2020
1 parent 0c9334f commit b876030
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
language: java
jdk:
- openjdk8
- openjdk8

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

script:
- ./gradlew setupCiWorkspace build
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildscript {
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70"
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
classpath 'co.riiid:gradle-github-plugin:0.4.2'
classpath 'gradle.plugin.com.matthewprenger:CurseGradle:1.4.0'
Expand All @@ -24,6 +25,7 @@ buildscript {
apply plugin: "net.minecraftforge.gradle.forge"
apply plugin: 'co.riiid.gradle'
apply plugin: "com.matthewprenger.cursegradle"
apply plugin: 'kotlin'

sourceCompatibility = targetCompatibility = "1.8" // Need this here so eclipse task generates correctly.
compileJava {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if $cygwin ; then
JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -vegetableType d 2>/dev/null`
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
Expand Down

0 comments on commit b876030

Please sign in to comment.