-
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.
Add buildSrc for better version handling
- Loading branch information
1 parent
a5e3a06
commit ea47b5a
Showing
9 changed files
with
57 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
kotlinDslPluginOptions { | ||
experimentalWarning.set(false) | ||
} |
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.gradle.api.JavaVersion | ||
|
||
object Version { | ||
// Project | ||
val java = JavaVersion.VERSION_1_8.toString() | ||
const val project = "0.0.1-SNAPSHOT" | ||
|
||
// Dependencies | ||
const val assertj = "3.15.0" | ||
const val guava = "29.0-jre" | ||
const val jackson = "2.10.3" | ||
const val junit = "5.6.2" | ||
const val log4j2 = "2.13.1" | ||
const val logback = "1.2.3" | ||
const val spring = "2.2.6.RELEASE" | ||
const val slf4j = "1.7.30" | ||
|
||
// Gradle plugins | ||
const val lombok_gradle_plugin = "5.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
plugins { | ||
id("io.freefair.lombok") version Version.lombok_gradle_plugin | ||
} | ||
|
||
description = "Common compliance library containing the masking logic" | ||
|
||
dependencies { | ||
implementation(group = "org.slf4j", name = "slf4j-api", version = "1.7.30") | ||
implementation(group = "org.slf4j", name = "slf4j-api", version = Version.slf4j) | ||
|
||
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter") | ||
testImplementation(group = "com.google.guava", name = "guava", version = "29.0-jre") | ||
testImplementation(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.10.3") | ||
testCompileOnly(group = "org.projectlombok", name = "lombok", version = "1.18.12") | ||
testAnnotationProcessor(group = "org.projectlombok", name = "lombok", version = "1.18.12") | ||
testImplementation(group = "com.google.guava", name = "guava", version = Version.guava) | ||
testImplementation(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = Version.jackson) | ||
} |
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 @@ | ||
# This file is generated by the 'io.freefair.lombok' Gradle plugin | ||
config.stopBubbling = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
plugins { | ||
id("io.freefair.lombok") version "5.0.0" | ||
id("io.freefair.lombok") version Version.lombok_gradle_plugin | ||
} | ||
|
||
description = "Compliance Logback library" | ||
|
||
dependencies { | ||
api(project(":compliance-logging-common")) | ||
implementation(group = "ch.qos.logback", name = "logback-core", version = "1.2.3") | ||
implementation(group = "ch.qos.logback", name = "logback-classic", version = "1.2.3") | ||
implementation(group = "ch.qos.logback", name = "logback-core", version = Version.logback) | ||
implementation(group = "ch.qos.logback", name = "logback-classic", version = Version.logback) | ||
|
||
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter") | ||
} |
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