This repository has been archived by the owner on Feb 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
56 additions
and
9 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
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,24 @@ | ||
package nebula.plugin.bintray | ||
|
||
import nebula.test.IntegrationSpec | ||
import spock.lang.Ignore | ||
|
||
class LauncherSpec extends IntegrationSpec { | ||
@Ignore | ||
File createSubProject(String name, String buildFile = null) { | ||
settingsFile << "\ninclude '${name}'" | ||
|
||
def sub = new File(projectDir, name) | ||
sub.mkdirs() | ||
|
||
if (buildFile) { | ||
new File(sub, 'build.gradle') << buildFile | ||
} | ||
|
||
return sub | ||
} | ||
|
||
void writeHelloWorld(String dottedPackage = 'netflix.hello') { | ||
writeHelloWorld(dottedPackage, getProjectDir()) | ||
} | ||
} |
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