1- import com.novoda.gradle.release.PublishExtension
21import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension
32import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43import org.springframework.boot.gradle.plugin.SpringBootPlugin
@@ -8,7 +7,6 @@ plugins {
87 kotlin(" jvm" )
98 jacoco
109 id(Config .QualityPlugins .errorProne)
11- id(Config .Deploy .novodaBintray)
1210 id(Config .QualityPlugins .gradleVersions)
1311 id(Config .BuildPlugins .buildConfig) version Config .BuildPlugins .buildConfigVersion
1412 id(Config .BuildPlugins .springBoot) version Config .springBootVersion apply false
@@ -101,26 +99,3 @@ val generateBuildConfig by tasks
10199tasks.withType<JavaCompile >().configureEach {
102100 dependsOn(generateBuildConfig)
103101}
104-
105- // TODO: move these blocks to parent gradle file, DRY
106- configure<PublishExtension > {
107- userOrg = Config .Sentry .userOrg
108- groupId = project.group.toString()
109- publishVersion = project.version.toString()
110- desc = Config .Sentry .description
111- website = Config .Sentry .website
112- repoName = Config .Sentry .javaRepoName
113- setLicences(Config .Sentry .licence)
114- setLicenceUrls(Config .Sentry .licenceUrl)
115- issueTracker = Config .Sentry .issueTracker
116- repository = Config .Sentry .repository
117- sign = Config .Deploy .sign
118- artifactId = project.name
119- uploadName = " ${project.group} :${project.name} "
120- devId = Config .Sentry .userOrg
121- devName = Config .Sentry .devName
122- devEmail = Config .Sentry .devEmail
123- scmConnection = Config .Sentry .scmConnection
124- scmDevConnection = Config .Sentry .scmDevConnection
125- scmUrl = Config .Sentry .scmUrl
126- }
0 commit comments