-
Notifications
You must be signed in to change notification settings - Fork 1
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
16 changed files
with
115 additions
and
163 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
build-logic/src/main/kotlin/cloud-spring.base-conventions.gradle.kts
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
build-logic/src/main/kotlin/cloud-spring.parent-build-logic.gradle.kts
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
build-logic/src/main/kotlin/cloud-spring.publishing-conventions.gradle.kts
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
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 |
---|---|---|
|
@@ -4,4 +4,3 @@ description=cloud-spring | |
|
||
org.gradle.caching=true | ||
org.gradle.parallel=true | ||
org.gradle.jvmargs=-Xmx2G |
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,21 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
alias(libs.plugins.cloud.buildLogic.spotless) | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
mavenLocal() | ||
} | ||
|
||
dependencies { | ||
implementation(libs.cloud.build.logic) | ||
implementation(libs.gradleKotlinJvm) | ||
|
||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location)) | ||
} | ||
|
||
cloudSpotless { | ||
licenseHeaderFile.convention(null as RegularFile?) | ||
ktlintVersion = libs.versions.ktlint | ||
} |
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,16 @@ | ||
rootProject.name = "build-logic" | ||
|
||
pluginManagement { | ||
repositories { | ||
gradlePluginPortal() | ||
mavenLocal() | ||
} | ||
} | ||
|
||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../libs.versions.toml")) | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
gradle/build-logic/src/main/kotlin/cloud-spring.base-conventions.gradle.kts
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,31 @@ | ||
plugins { | ||
id("org.incendo.cloud-build-logic") | ||
id("org.incendo.cloud-build-logic.spotless") | ||
} | ||
|
||
indra { | ||
javaVersions { | ||
minimumToolchain(17) | ||
target(17) | ||
testWith().set(setOf(17)) | ||
} | ||
checkstyle().set(libs.versions.checkstyle) | ||
} | ||
|
||
cloudSpotless { | ||
ktlintVersion = libs.versions.ktlint | ||
} | ||
|
||
spotless { | ||
java { | ||
importOrderFile(rootProject.file(".spotless/cloud-spring.importorder")) | ||
} | ||
} | ||
|
||
// Common dependencies. | ||
dependencies { | ||
|
||
// test dependencies | ||
testImplementation(libs.truth) | ||
testImplementation(libs.awaitility) | ||
} |
20 changes: 20 additions & 0 deletions
20
gradle/build-logic/src/main/kotlin/cloud-spring.publishing-conventions.gradle.kts
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,20 @@ | ||
import org.incendo.cloudbuildlogic.city | ||
|
||
plugins { | ||
id("org.incendo.cloud-build-logic.publishing") | ||
} | ||
|
||
indra { | ||
github("Incendo", "cloud-spring") { | ||
ci(true) | ||
} | ||
mitLicense() | ||
|
||
configurePublications { | ||
pom { | ||
developers { | ||
city() | ||
} | ||
} | ||
} | ||
} |
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