-
-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Upgrade Gradle to 7.5.1 convert the project to use convention …
…plugins
- Loading branch information
1 parent
6abdab2
commit 0338f43
Showing
15 changed files
with
396 additions
and
514 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# Linux start script should use lf | ||
/gradlew text eol=lf | ||
|
||
# These are Windows script files and should use crlf | ||
*.bat text eol=crlf | ||
|
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 |
---|---|---|
@@ -1,46 +1,11 @@ | ||
*.class | ||
*.hprof | ||
*.log | ||
*/bin | ||
# sbt specific | ||
dist/* | ||
lib_managed/ | ||
src_managed/ | ||
project/boot/ | ||
project/plugins/project/ | ||
pact-jvm-provider-sbt/project/project/ | ||
pact-jvm-provider-sbt/project/target/ | ||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
# Scala-IDE specific | ||
.scala_dependencies | ||
|
||
.DS_Store | ||
|
||
*/.settings | ||
# Ignore Gradle build output directory | ||
build | ||
|
||
# IDE files and directories | ||
.idea | ||
.idea_modules | ||
*.iml | ||
|
||
# Eclipse | ||
*/.cache | ||
.classpath | ||
.settings | ||
.project | ||
build/ | ||
pkgdiff_reports/ | ||
.gradle/ | ||
|
||
out/ | ||
consumer/target/ | ||
consumer/groovy/target/ | ||
consumer/junit/target/ | ||
consumer/junit5/target/ | ||
consumer/specs2/target/ | ||
consumer/scalasupport/target/ | ||
provider/target/ | ||
provider/scalasupport/target/ | ||
.kotlintest/ | ||
bin/ | ||
.vscode/ | ||
|
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
plugins { | ||
// Support convention plugins written in Groovy. Convention plugins are build scripts in 'src/main' that | ||
// automatically become available as plugins in the main build. | ||
id 'groovy-gradle-plugin' | ||
} | ||
|
||
repositories { | ||
// Use the plugin portal to apply community plugins in convention plugins. | ||
gradlePluginPortal() | ||
} | ||
|
||
dependencies { | ||
implementation 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21' | ||
} |
7 changes: 7 additions & 0 deletions
7
buildSrc/src/main/groovy/au.com.dius.pact.kotlin-application-conventions.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,7 @@ | ||
plugins { | ||
// Apply the common convention plugin for shared build configuration between library and application projects. | ||
id 'au.com.dius.pact.kotlin-common-conventions' | ||
|
||
// Apply the application plugin to add support for building a CLI application in Java. | ||
id 'application' | ||
} |
Oops, something went wrong.