-
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.
dynamically registering executions. now to finish default execution r…
…eplacements
- Loading branch information
1 parent
65fd481
commit 718f471
Showing
14 changed files
with
199 additions
and
118 deletions.
There are no files selected for viewing
18 changes: 10 additions & 8 deletions
18
integration-tests/src/test/kotlin/com/antwerkz/build/maven/GradleInvocationTest.kt
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,19 +1,21 @@ | ||
package com.antwerkz.build.maven | ||
|
||
import org.testng.Assert.assertTrue | ||
import org.testng.annotations.Test | ||
|
||
class GradleInvocationTest : MavenTester() { | ||
@Test | ||
fun invokeGradle() { | ||
val testDir = initProject("projects/gradleInvoke") | ||
val testDir = initProject("gradleInvoke") | ||
val (_, welcome) = setupAndInvoke(testDir) | ||
var string = welcome.toLogFormat() | ||
assertTrue(welcome.contains("[INFO] > hello, graven!"), string) | ||
val string = welcome.toLogFormat() | ||
println(string) | ||
/* | ||
assertTrue(welcome.contains("[INFO] > hello, graven!"), string) | ||
val (_, packaging) = setupAndInvoke(testDir, goals = listOf("package")) | ||
string = packaging.toLogFormat() | ||
assertTrue(packaging.contains("[INFO] > hello, graven!"), string) | ||
assertTrue(packaging.contains("[INFO] > working hard"), string) | ||
val (_, packaging) = setupAndInvoke(testDir, goals = listOf("package")) | ||
string = packaging.toLogFormat() | ||
assertTrue(packaging.contains("[INFO] > hello, graven!"), string) | ||
assertTrue(packaging.contains("[INFO] > working hard"), string) | ||
*/ | ||
} | ||
} |
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
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
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,10 @@ | ||
package com.antwerkz.build | ||
|
||
import com.fasterxml.jackson.annotation.JsonRootName | ||
|
||
@JsonRootName("configuration") | ||
data class GravenConfig( | ||
var gradleVersion: String = "", | ||
// var tasks: List<GradleTask> = listOf(), | ||
var replacements: List<RegexReplacement> = listOf() | ||
) |
Oops, something went wrong.