Skip to content

Commit

Permalink
build: Using common config across projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Feb 1, 2023
1 parent dbd9c69 commit 107da69
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
33 changes: 17 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -27,12 +27,11 @@ config {

people {
person {
id = 'jruaux'
name = 'Julien Ruaux'
id = 'jruaux'
name = 'Julien Ruaux'
roles = ['developer', 'author']
}
}

}

docs {
Expand All @@ -54,7 +53,7 @@ config {
}
}
}

coverage {
jacoco {
enabled = true
Expand Down Expand Up @@ -84,7 +83,7 @@ subprojects {
description = project.project_description
}
}

license {
exclude('build/**')
}
Expand All @@ -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'
}
Expand Down
2 changes: 1 addition & 1 deletion jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ signing:
deploy:
maven:
pomchecker:
version: 1.6.0
version: early-access
nexus2:
maven-central:
active: RELEASE
Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ projects {
}
}


enforce {
enabled = false
}

0 comments on commit 107da69

Please sign in to comment.