File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1+ plugins {
2+ id ' net.researchgate.release' version ' 3.0.2'
3+ }
14apply plugin : ' com.android.library'
25
36android {
@@ -97,10 +100,24 @@ allprojects {
97100 }
98101}
99102
103+ release {
104+ tagTemplate = ' v_${version}'
105+ preTagCommitMessage = ' :cloud: Release'
106+ tagCommitMessage = ' :cloud: Release'
107+ newVersionCommitMessage = ' :cloud: Bump'
108+
109+ versionPropertyFile = ' ../gradle.properties'
110+ versionProperties = [' VERSION_NAME' ]
111+
112+ git {
113+ requireBranch. set(' main' )
114+ }
115+ }
116+
100117ext {
101118 PUBLISH_GROUP_ID = GROUP
102119 PUBLISH_VERSION = VERSION_NAME
103120 PUBLISH_ARTIFACT_ID = POM_ARTIFACT_ID
104121}
105122
106- apply from : " ${ rootProject.projectDir} /gradle/publish-module.gradle"
123+ apply from : " ${ rootProject.projectDir} /gradle/publish-module.gradle"
You can’t perform that action at this time.
0 commit comments