diff --git a/buildSrc/src/main/kotlin/SelektExtensions.kt b/buildSrc/src/main/kotlin/SelektExtensions.kt index 16cf11fdc2..2d712284de 100644 --- a/buildSrc/src/main/kotlin/SelektExtensions.kt +++ b/buildSrc/src/main/kotlin/SelektExtensions.kt @@ -22,9 +22,7 @@ import org.gradle.api.provider.Provider import org.gradle.api.publish.maven.MavenPom import org.gradle.kotlin.dsl.withType import org.jetbrains.kotlin.gradle.tasks.KotlinCompile -import java.io.ByteArrayOutputStream import java.net.URI -import java.nio.charset.StandardCharsets fun DependencyHandler.androidX(module: String, suffix: String? = null, version: String? = null): Any = "androidx.$module:$module${suffix?.let { "-$it" }.orEmpty()}${version?.let { ":$it" }.orEmpty()}" @@ -80,6 +78,7 @@ fun Project.disableKotlinCompilerAssertions() { } fun MavenPom.commonInitialisation(project: Project) { + val developerOrganization = "Bloomberg LP" ciManagement { name.set("Selekt") url.set("https://github.com/bloomberg/selekt/actions") @@ -89,14 +88,14 @@ fun MavenPom.commonInitialisation(project: Project) { id.set("kennethshackleton") email.set("kshackleton1@bloomberg.net") name.set("Kenneth J. Shackleton") - organization.set("Bloomberg LP") + organization.set(developerOrganization) organizationUrl.set("https://github.com/bloomberg") } developer { id.set("xouabita") email.set("aabita@bloomberg.net") name.set("Alexandre Abita") - organization.set("Bloomberg LP") + organization.set(developerOrganization) organizationUrl.set("https://github.com/bloomberg") } } @@ -113,7 +112,7 @@ fun MavenPom.commonInitialisation(project: Project) { } } organization { - name.set("Bloomberg LP") + name.set(developerOrganization) url.set("https://www.bloomberg.com") } scm {