-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use artifact transforms - some hacky mess here unfortunately, very WIP
- Loading branch information
Showing
18 changed files
with
440 additions
and
238 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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# More details on how to configure the Travis build | ||
# https://docs.travis-ci.com/user/customizing-the-build/ | ||
|
||
# Speed up build with travis caches | ||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/modules-2/ | ||
- $HOME/.gradle/wrapper/ | ||
|
||
# Remove often changing files to prevent cache re-upload on no changes in dependencies | ||
before_cache: | ||
# pom, xml and jar files are known not to change | ||
# assume non-whitelisted extensions are changing | ||
# (this will include .lock, .bin, .metadata and potential future additions to gradle's caches folder) | ||
- find $HOME/.gradle/caches/modules-2 -type f -not \( -iname \*.pom -o -iname \*.jar -o -iname \*.xml \) -delete | ||
# xml files which change | ||
- find $HOME/.gradle/caches/modules-2 -name ivy.xml -delete | ||
# remove left over empty directories | ||
- find $HOME/.gradle/caches/modules-2 -type d -empty -delete | ||
|
||
language: java | ||
|
||
jdk: | ||
- openjdk8 | ||
- openjdk11 | ||
- openjdk12 # TODO unsupported, remove soon? | ||
- openjdk13 | ||
|
||
#Skipping install step to avoid having Travis run arbitrary './gradlew assemble' task | ||
# https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step | ||
install: | ||
- true | ||
|
||
#Don't build tags | ||
branches: | ||
only: | ||
- master | ||
except: | ||
- /^v\d/ | ||
|
||
#Build and perform release (if needed) | ||
script: | ||
- ./gradlew build -s | ||
|
||
deploy: | ||
provider: script | ||
script: ./gradlew ciPerformRelease | ||
edge: true | ||
cleanup: false | ||
on: | ||
jdk: openjdk12 | ||
branch: master |
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
98 changes: 0 additions & 98 deletions
98
gradle-plugin/src/main/java/org/minimallycorrect/MixinGradlePlugin.java
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
gradle-plugin/src/main/java/org/minimallycorrect/deps/TaskOutputSpecificFileCollection.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.