Skip to content

Commit

Permalink
build.gradle.kts: minor: configureBintray -> configureMavenCentral
Browse files Browse the repository at this point in the history
  • Loading branch information
mvysny committed Oct 19, 2024
1 parent c53f499 commit a8adf72
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ subprojects {
targetCompatibility = JavaVersion.VERSION_17
}

// creates a reusable function which configures proper deployment to Bintray
ext["configureBintray"] = { artifactId: String, description: String ->
// creates a reusable function which configures proper deployment to Maven Central
ext["configureMavenCentral"] = { artifactId: String, description: String ->

java {
withJavadocJar()
Expand Down
2 changes: 1 addition & 1 deletion vok-framework-vokdb/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ kotlin {
explicitApi()
}

val configureBintray = ext["configureBintray"] as (artifactId: String, description: String) -> Unit
val configureBintray = ext["configureMavenCentral"] as (artifactId: String, description: String) -> Unit
configureBintray("vok-framework-vokdb", "VOK: Vaadin 10 Flow with VOK-DB persistence")
2 changes: 1 addition & 1 deletion vok-framework/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ kotlin {
explicitApi()
}

val configureBintray = ext["configureBintray"] as (artifactId: String, description: String) -> Unit
val configureBintray = ext["configureMavenCentral"] as (artifactId: String, description: String) -> Unit
configureBintray("vok-framework", "VoK: The Framework")
2 changes: 1 addition & 1 deletion vok-rest-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ kotlin {
explicitApi()
}

val configureBintray = ext["configureBintray"] as (artifactId: String, description: String) -> Unit
val configureBintray = ext["configureMavenCentral"] as (artifactId: String, description: String) -> Unit
configureBintray("vok-rest-client", "VoK: The Client REST support")
2 changes: 1 addition & 1 deletion vok-rest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ kotlin {
explicitApi()
}

val configureBintray = ext["configureBintray"] as (artifactId: String, description: String) -> Unit
val configureBintray = ext["configureMavenCentral"] as (artifactId: String, description: String) -> Unit
configureBintray("vok-rest", "VoK: The REST support")

0 comments on commit a8adf72

Please sign in to comment.