-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # README.md
- Loading branch information
Showing
31 changed files
with
292 additions
and
162 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 |
---|---|---|
|
@@ -20,15 +20,41 @@ matrix: | |
- sonar-scanner | ||
|
||
- os: linux | ||
dist: xenial | ||
jdk: oraclejdk8 | ||
dist: bionic | ||
jdk: openjdk11 | ||
|
||
- os: osx | ||
osx_image: xcode9.4 | ||
jdk: oraclejdk11 | ||
|
||
- os: windows | ||
# Java is not yet supported on Windows, so the build would block. | ||
# You do not need any setup from Travis, use a plain bash build | ||
language: bash | ||
env: | ||
# This is a convenience variable for shortening download commands | ||
- GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/" | ||
# If you use Windows, you may want to disable Windows Defender. It slows down the builds | ||
# dramatically, also during cache setup. From a Tanzinul Islam's idea: http://bit.ly/348VPYS, | ||
# This work around disables it before caching | ||
- NO_WIN_DEFENDER=$(curl "${GRAVIS}.disable-windows-defender.sh" --output .no-defender.sh && source .no-defender.sh) | ||
# List any JDK you want to build your software with. | ||
# You can see the list of supported environments by installing Jabba and using ls-remote: | ||
# https://github.com/shyiko/jabba#usage | ||
- JDK="[email protected]" | ||
before_install: | ||
# Download the script, and download, install, configue the JDK, and export the configuration to the current shell | ||
- curl "${GRAVIS}.install-jdk-travis.sh" --output ~/.install-jdk-travis.sh | ||
- source ~/.install-jdk-travis.sh | ||
before_cache: | ||
- curl "${GRAVIS}.clean_gradle_cache.sh" --output ~/.clean_gradle_cache.sh | ||
- bash ~/.clean_gradle_cache.sh | ||
|
||
language: java | ||
|
||
git: | ||
depth: 3 | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
|
@@ -38,8 +64,5 @@ cache: | |
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
|
||
git: | ||
depth: 3 | ||
|
||
script: | ||
- ./gradlew check --scan |
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
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
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
8 changes: 8 additions & 0 deletions
8
src/main/java/org/siouan/frontendgradleplugin/core/MissingScriptException.java
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,8 @@ | ||
package org.siouan.frontendgradleplugin.core; | ||
|
||
/** | ||
* Exception thrown when no script was provided. | ||
* | ||
* @since 1.3.0 | ||
*/ | ||
public class MissingScriptException extends FrontendException {} |
Oops, something went wrong.