Skip to content

Commit

Permalink
Add release version plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
magrossi committed May 4, 2019
1 parent 3fbea9f commit e593bd1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ buildscript {
dependencies {
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.11.0"
classpath "com.avast.gradle:gradle-docker-compose-plugin:0.9.3"
classpath "pl.allegro.tech.build:axion-release-plugin:1.10.1"
}
}

Expand All @@ -39,10 +40,17 @@ apply plugin: 'docker-compose'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'io.codearte.nexus-staging'
apply plugin: 'pl.allegro.tech.build.axion-release'

scmVersion {
tag {
initialVersion = {config, position -> "1.0.0" }
}
}

group = "com.github.magrossi"
archivesBaseName = "log4j2-elasticsearch-appender"
version = "0.1.0"
version = scmVersion.version

dependencies {
implementation 'org.apache.logging.log4j:log4j-api:2.8.2'
Expand Down

0 comments on commit e593bd1

Please sign in to comment.