-
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.
Merge pull request #27 from ekino/chore/up
upgradle dependencies
- Loading branch information
Showing
38 changed files
with
528 additions
and
664 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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
[*.{kt,kts}] | ||
indent_size = 2 | ||
max_line_length = 180 | ||
disabled_rules=import-ordering | ||
ktlint_standard_function-signature = disabled | ||
ktlint_standard_no-empty-first-line-in-class-body = disabled | ||
ktlint_standard_string-template-indent = disabled | ||
ktlint_standard_multiline-expression-wrapping = disabled |
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
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 |
---|---|---|
|
@@ -3,79 +3,77 @@ import se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask | |
|
||
plugins { | ||
base | ||
kotlin("jvm") version "1.4.10" apply false | ||
id("com.ekino.oss.plugin.kotlin-quality") version "2.0.0" apply false | ||
id("net.researchgate.release") version "2.8.1" | ||
id("se.bjurr.gitchangelog.git-changelog-gradle-plugin") version "1.64" | ||
id("org.jetbrains.dokka") version "1.4.0-rc" | ||
`maven-publish` | ||
signing | ||
alias(libs.plugins.kotlin.jvm) apply false | ||
alias(libs.plugins.ktlint) apply false | ||
alias(libs.plugins.detekt) | ||
alias(libs.plugins.release) | ||
alias(libs.plugins.changelog) | ||
alias(libs.plugins.dokka) | ||
} | ||
|
||
allprojects { | ||
group = "com.ekino.oss.jcv" | ||
|
||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
} | ||
|
||
registerProperties( | ||
"kotlin.version" to "1.4.10", | ||
"commons-io.version" to "2.7", | ||
"jsonassert.version" to "1.5.0", | ||
"assertj.version" to "3.16.1", | ||
"hamcrest.version" to "2.2", | ||
"junit-jupiter.version" to "5.6.2", | ||
"assertk-jvm.version" to "0.22", | ||
"wiremock.version" to "2.27.2" | ||
) | ||
} | ||
|
||
tasks.create("printVersion") { | ||
doLast { | ||
val version: String by project | ||
println(version) | ||
tasks { | ||
register("printVersion") { | ||
doLast { | ||
println(project.version.toString()) | ||
} | ||
} | ||
|
||
register<GitChangelogTask>("gitChangelogTask") { | ||
file = File("CHANGELOG.md") | ||
templateContent = file("template_changelog.mustache").readText() | ||
} | ||
} | ||
|
||
tasks.create<GitChangelogTask>("gitChangelogTask") { | ||
file = File("CHANGELOG.md") | ||
templateContent = file("template_changelog.mustache").readText() | ||
detekt { | ||
buildUponDefaultConfig = true | ||
config.setFrom("config/detekt.yml") | ||
} | ||
|
||
subprojects { | ||
|
||
apply<MavenPublishPlugin>() | ||
apply<ReleasePlugin>() | ||
apply<SigningPlugin>() | ||
|
||
configure<PublishingExtension> { | ||
publishing { | ||
publications { | ||
create<MavenPublication>("mavenJava") { | ||
register<MavenPublication>("mavenJava") { | ||
pom { | ||
name.set("JCV") | ||
description.set("JSON Content Validator (JCV) allows you to compare JSON contents with embedded validation.") | ||
url.set("https://github.com/ekino/jcv") | ||
name = "JCV" | ||
description = "JSON Content Validator (JCV) allows you to compare JSON contents with embedded validation." | ||
url = "https://github.com/ekino/jcv" | ||
licenses { | ||
license { | ||
name.set("MIT License (MIT)") | ||
url.set("https://opensource.org/licenses/mit-license") | ||
name = "MIT License (MIT)" | ||
url = "https://opensource.org/licenses/mit-license" | ||
} | ||
} | ||
developers { | ||
developer { | ||
name.set("Léo Millon") | ||
email.set("[email protected]") | ||
organization.set("ekino") | ||
organizationUrl.set("https://www.ekino.com/") | ||
name = "Léo Millon" | ||
email = "[email protected]" | ||
organization = "ekino" | ||
organizationUrl = "https://www.ekino.com/" | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:git://github.com/ekino/jcv.git") | ||
developerConnection.set("scm:git:ssh://github.com:ekino/jcv.git") | ||
url.set("https://github.com/ekino/jcv") | ||
connection = "scm:git:git://github.com/ekino/jcv.git" | ||
developerConnection = "scm:git:ssh://github.com:ekino/jcv.git" | ||
url = "https://github.com/ekino/jcv" | ||
} | ||
organization { | ||
name.set("ekino") | ||
url.set("https://www.ekino.com/") | ||
name = "ekino" | ||
url = "https://www.ekino.com/" | ||
} | ||
} | ||
repositories { | ||
|
@@ -95,4 +93,9 @@ subprojects { | |
} | ||
} | ||
} | ||
|
||
signing { | ||
setRequired { gradle.taskGraph.hasTask("publish") } | ||
sign(publishing.publications["mavenJava"]) | ||
} | ||
} |
Oops, something went wrong.