-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NPE when no configuration is applied
Closes #1
- Loading branch information
Showing
7 changed files
with
47 additions
and
2 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 |
---|---|---|
|
@@ -3,8 +3,6 @@ on: | |
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'docs/**' | ||
jobs: | ||
generate_documentation: | ||
runs-on: ubuntu-18.04 | ||
|
18 changes: 18 additions & 0 deletions
18
...n/src/functionalTest/groovy/me/champeau/gradle/igp/WellBehavedPluginFunctionalTest.groovy
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,18 @@ | ||
package me.champeau.gradle.igp | ||
|
||
import me.champeau.includegit.AbstractFunctionalTest | ||
|
||
class WellBehavedPluginFunctionalTest extends AbstractFunctionalTest { | ||
def "can apply the plugin without any configuration"() { | ||
withSample 'zeroconf' | ||
|
||
when: | ||
run 'help' | ||
|
||
then: | ||
tasks { | ||
succeeded ':help' | ||
} | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins { | ||
id 'java-library' | ||
} | ||
|
||
dependencies { | ||
implementation 'com.acme.somelib:somelib1:0.0' | ||
} |
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,5 @@ | ||
plugins { | ||
id 'me.champeau.includegit' | ||
} | ||
|
||
rootProject.name = "zero" |
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,7 @@ | ||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
implementation("com.acme.somelib:somelib1:0.0") | ||
} |
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,7 @@ | ||
import me.champeau.gradle.igp.gitRepositories | ||
|
||
plugins { | ||
id("me.champeau.includegit") | ||
} | ||
|
||
rootProject.name = "zero" |