-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from eyalroth/feature/140/gradle-consistent-v…
…ersions-compat Make the plugin compatible with Palantir's consistent versions plugin
- Loading branch information
Showing
8 changed files
with
101 additions
and
33 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
19 changes: 19 additions & 0 deletions
19
...ionalTest/resources/projects/detect-scala-library/gradle-consistent-versions/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,19 @@ | ||
plugins { | ||
id "com.palantir.consistent-versions" version "1.16.0" | ||
id 'org.scoverage' | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
description = 'defines scala library using the "implementation" configuration and the gradle-consistent-versions plugin' | ||
|
||
dependencies { | ||
implementation group: 'org.scala-lang', name: 'scala-library' | ||
} | ||
|
||
scoverage { | ||
// 'detectedScalaLibraryVersion' is set by the test `DetectScalaLibraryTest.java` | ||
scoverageScalaVersion = detectedScalaLibraryVersion | ||
} |
Empty file.
2 changes: 2 additions & 0 deletions
2
...onalTest/resources/projects/detect-scala-library/gradle-consistent-versions/versions.lock
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,2 @@ | ||
# Run ./gradlew --write-locks to regenerate this file | ||
org.scala-lang:scala-library:2.12.0 (1 constraints: 3705353b) |
1 change: 1 addition & 0 deletions
1
...nalTest/resources/projects/detect-scala-library/gradle-consistent-versions/versions.props
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 @@ | ||
org.scala-lang:scala-library = 2.12.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
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