File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Configure version based on Git tags
2
+ apply plugin : ' pl.allegro.tech.build.axion-release'
3
+ scmVersion {
4
+ releaseOnlyOnReleaseBranches = true
5
+ releaseBranchNames = [' main' ]
6
+ unshallowRepoOnCI. set(true )
7
+ versionCreator(' simple' )
8
+ repository {
9
+ remote. set(' origin' )
10
+ }
11
+ tag {
12
+ prefix. set(' ' )
13
+ }
14
+ }
15
+
1
16
allprojects {
2
17
// Apply common project setup
3
18
apply from : " ${ project.rootDir} /project.gradle"
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
2
2
id " com.cherryperry.gradle-file-encrypt" version " 2.0.3" apply false
3
3
id " org.jetbrains.gradle.plugin.idea-ext" version " 1.1.3" apply false
4
4
id ' cz.habarta.typescript-generator' version " $typescriptGeneratorVersion " apply false
5
+ id ' pl.allegro.tech.build.axion-release' version ' 1.18.16' apply false
5
6
}
6
7
7
8
rootProject. name = " $projectName "
You can’t perform that action at this time.
0 commit comments