Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b416d4e7ffbd6974e22e9afe2f98373c6a00dd92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath group: 'pl.allegro.tech.build', name: 'axion-release-plugin', version: '1.8.3'
    }
}

apply plugin: pl.allegro.tech.build.axion.release.ReleasePlugin

if(properties.get('build.type') == 'N') {
	ext.set('release.forceSnapshot', true)
}

scmVersion {
 	tag {
		prefix = 'v'
		versionSeparator = '_'
	}
	versionIncrementer 'incrementPrerelease'
    versionCreator 'versionWithBranch'
//	localOnly = false
  	checks { 
        uncommittedChanges = false
        aheadOfRemote = true
        snapshotDependencies = false
    } 
	repository {
    	pushTagsOnly = true
    }
}

Back to the top