Skip to content

Commit

Permalink
Add switch to allow breaking API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschiller committed Dec 30, 2020
1 parent 3c6f5e6 commit 8f9c176
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ before_install:
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license"

install:
- ./gradlew :prefiller:publishToMavenLocal --stacktrace
- ./gradlew :prefiller:publishToMavenLocal -PexcludeSample --stacktrace

script:
- ./gradlew test --stacktrace
Expand Down
12 changes: 8 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
rootProject.name = "prefiller-plugin"

include(":prefiller")
include(":sample:kotlin-groovy-dsl")
include(":sample:java-groovy-dsl")
include(":sample:kotlin-kotlin-dsl")
include(":sample:java-kotlin-dsl")

// Samples can be excluded to publish the plugin when the API changes
if (!hasProperty("excludeSample")) {
include(":sample:kotlin-groovy-dsl")
include(":sample:java-groovy-dsl")
include(":sample:kotlin-kotlin-dsl")
include(":sample:java-kotlin-dsl")
}

0 comments on commit 8f9c176

Please sign in to comment.