File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11import org.jetbrains.dokka.gradle.DokkaTask
2- import com.gradle.publish.PluginBundleExtension
3- import com.jfrog.bintray.gradle.BintrayExtension
42
53plugins {
64 `java- gradle- plugin`
@@ -10,6 +8,7 @@ plugins {
108 id(" org.jetbrains.dokka" )
119 id(" io.gitlab.arturbosch.detekt" )
1210 id(" com.jfrog.bintray" )
11+ id(" net.researchgate.release" )
1312}
1413
1514defaultTasks(" build" , " publishToMavenLocal" )
@@ -63,6 +62,12 @@ tasks {
6362 withType<Test >().configureEach {
6463 testLogging.showStandardStreams = true
6564 }
65+ named(" afterReleaseBuild" ) {
66+ dependsOn(" bintrayUpload" , " publishPlugins" )
67+ }
68+ named(" updateVersion" ) {
69+ enabled = false
70+ }
6671}
6772
6873detekt {
Original file line number Diff line number Diff line change 11version =1.0.0
2+ release.useAutomaticVersion =true
3+
24kotlin.version =1.3.50
35dokka.version =0.9.18
46detekt.version =1.0.1
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ pluginManagement {
55 id(" org.jetbrains.dokka" ) version " ${extra[" dokka.version" ]} "
66 id(" com.gradle.plugin-publish" ) version " 0.10.1"
77 id(" com.jfrog.bintray" ) version " 1.8.4"
8+ id(" net.researchgate.release" ) version " 2.6.0"
89 }
910}
1011
You can’t perform that action at this time.
0 commit comments