-
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
14 changed files
with
164 additions
and
41 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
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
26 changes: 26 additions & 0 deletions
26
src/functionalTest/resources/gradle-example-ci-server-flat/build.gradle
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,26 @@ | ||
plugins { | ||
id 'java' | ||
} | ||
|
||
repositories { | ||
maven { | ||
url "should-override-me" | ||
credentials { | ||
password "should-override-me" | ||
} | ||
} | ||
flatDir { | ||
dirs './tests-local-project-dependency/build/libs' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation ':tests-local-project-dependency:' | ||
implementation 'junit:junit:4.12' | ||
} | ||
|
||
// Source compatibility | ||
sourceCompatibility = '1.8' | ||
|
||
// Target compatibility | ||
targetCompatibility = '1.8' |
1 change: 1 addition & 0 deletions
1
src/functionalTest/resources/gradle-example-ci-server-flat/settings.gradle
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 changes: 10 additions & 0 deletions
10
...t/resources/gradle-example-ci-server-flat/src/main/java/org/gradle/consumer/Consumer.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,10 @@ | ||
package org.gradle; | ||
|
||
import org.gradle.Child; | ||
import org.junit.Assert; | ||
|
||
public class Consumer { | ||
public static void main() { | ||
Assert.assertTrue(Child.isChild()); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...lTest/resources/gradle-example-ci-server-flat/tests-local-project-dependency/build.gradle
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,9 @@ | ||
apply plugin: 'java' | ||
|
||
jar { | ||
archiveFileName.set('tests-local-project-dependency.jar') | ||
destinationDirectory.set(file("$buildDir/libs")) | ||
} | ||
|
||
sourceCompatibility = '1.8' | ||
targetCompatibility = '1.8' |
Binary file added
BIN
+792 Bytes
...-server-flat/tests-local-project-dependency/build/libs/tests-local-project-dependency.jar
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...st/resources/gradle-example-ci-server-flat/tests-local-project-dependency/settings.gradle
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 @@ | ||
|
6 changes: 6 additions & 0 deletions
6
...e-ci-server-flat/tests-local-project-dependency/src/main/java/org/gradle/child/Child.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,6 @@ | ||
package org.gradle; | ||
|
||
public class Child { | ||
public static boolean isChild() { | ||
return true; | ||
}} |
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