-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Using common config across projects
- Loading branch information
Julien Ruaux
committed
Feb 1, 2023
1 parent
dbd9c69
commit 107da69
Showing
3 changed files
with
18 additions
and
18 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 |
---|---|---|
|
@@ -4,17 +4,17 @@ config { | |
inceptionYear = '2020' | ||
vendor = 'Redis' | ||
tags = ['redis', 'tool', 'import', 'export', 'replication'] | ||
|
||
links { | ||
website = 'https://github.com/redis-developer/riot' | ||
issueTracker = 'https://github.com/redis-developer/riot/issues' | ||
scm = 'https://github.com/redis-developer/riot.git' | ||
website = "https://github.com/redis-developer/${project.rootProject.name}" | ||
issueTracker = "https://github.com/redis-developer/${project.rootProject.name}/issues" | ||
scm = "https://github.com/redis-developer/${project.rootProject.name}.git" | ||
} | ||
|
||
scm { | ||
url = "https://github.com/redis-developer/riot" | ||
connection = "scm:git:https://github.com/redis-developer/riot.git" | ||
developerConnection = "scm:git:[email protected]:redis-developer/riot.git" | ||
url = "https://github.com/redis-developer/${project.rootProject.name}" | ||
connection = "scm:git:https://github.com/redis-developer/${project.rootProject.name}.git" | ||
developerConnection = "scm:git:[email protected]:redis-developer/${project.rootProject.name}.git" | ||
} | ||
|
||
specification { | ||
|
@@ -27,12 +27,11 @@ config { | |
|
||
people { | ||
person { | ||
id = 'jruaux' | ||
name = 'Julien Ruaux' | ||
id = 'jruaux' | ||
name = 'Julien Ruaux' | ||
roles = ['developer', 'author'] | ||
} | ||
} | ||
|
||
} | ||
|
||
docs { | ||
|
@@ -54,7 +53,7 @@ config { | |
} | ||
} | ||
} | ||
|
||
coverage { | ||
jacoco { | ||
enabled = true | ||
|
@@ -84,7 +83,7 @@ subprojects { | |
description = project.project_description | ||
} | ||
} | ||
|
||
license { | ||
exclude('build/**') | ||
} | ||
|
@@ -93,22 +92,24 @@ subprojects { | |
compileOnly group: 'com.google.code.findbugs', name: 'jsr305', version: jsr305Version | ||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' | ||
testImplementation group: 'commons-io', name: 'commons-io', version: commonsIoVersion | ||
testImplementation group: 'com.redis.testcontainers', name: 'testcontainers-redis-junit', version: testcontRedisVersion | ||
testImplementation(group: 'com.redis.testcontainers', name: 'testcontainers-redis-junit', version: testcontRedisVersion) { | ||
exclude group: 'com.redis', module: 'lettucemod' | ||
} | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
bootJar { | ||
enabled = false | ||
} | ||
|
||
jar { | ||
enabled = true | ||
archiveClassifier = '' | ||
} | ||
|
||
configurations { | ||
all*.exclude module: 'spring-boot-starter-logging' | ||
} | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,6 @@ projects { | |
} | ||
} | ||
|
||
|
||
enforce { | ||
enabled = false | ||
} |