Skip to content

Commit

Permalink
Release version: 1.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and bgalek committed Mar 29, 2021
1 parent ce687eb commit 5bfb848
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ project versions along SCM tag versions.

```
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.13.0'
id 'pl.allegro.tech.build.axion-release' version '1.13.1'
}
project.version = scmVersion.version
Expand Down
48 changes: 25 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ group = 'pl.allegro.tech.build'
version = scmVersion.version

java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_1_8
}

Expand All @@ -47,9 +49,9 @@ repositories {
}

project.ext.versions = [
jgit: '5.10.0.202012080955-r',
jsch: '0.1.55',
jschAgent: '0.0.9'
jgit : '5.10.0.202012080955-r',
jsch : '0.1.55',
jschAgent: '0.0.9'
]

sourceSets {
Expand Down Expand Up @@ -92,7 +94,7 @@ dependencies {

implementation group: 'com.github.zafarkhaja', name: 'java-semver', version: '0.9.0'

testCompile (group: 'org.ajoberstar.grgit', name: 'grgit-core', version: '4.0.1') {
testCompile(group: 'org.ajoberstar.grgit', name: 'grgit-core', version: '4.0.1') {
exclude group: 'org.eclipse.jgit', module: 'org.eclipse.jgit.ui'
exclude group: 'org.eclipse.jgit', module: 'org.eclipse.jgit'
}
Expand All @@ -106,19 +108,15 @@ dependencies {
testCompile gradleTestKit()
}

shadowJar {
minimize()
}

task relocateShadowJar(type: ConfigureShadowRelocation) {
target = tasks.shadowJar
}

tasks.shadowJar.dependsOn tasks.relocateShadowJar


shadowJar {
archiveClassifier.set('')
minimize()
}

project.configurations {
Expand Down Expand Up @@ -179,29 +177,33 @@ jacocoTestReport {
}
}

pluginBundle {
website = 'https://github.com/allegro/axion-release-plugin'
vcsUrl = 'https://github.com/allegro/axion-release-plugin'
description = 'Release and version management plugin.'
tags = ['release', 'version']
if (System.getenv("GRADLE_PORTAL_KEY")) {
pluginBundle {
website = 'https://github.com/allegro/axion-release-plugin'
vcsUrl = 'https://github.com/allegro/axion-release-plugin'
description = 'Release and version management plugin.'
tags = ['release', 'version']

plugins {
release {
id = 'pl.allegro.tech.build.axion-release'
displayName = 'axion-release-plugin'
plugins {
release {
id = 'pl.allegro.tech.build.axion-release'
displayName = 'axion-release-plugin'
}
}
}

mavenCoordinates {
groupId = 'pl.allegro.tech.build'
artifactId = 'axion-release-plugin'
mavenCoordinates {
groupId = 'pl.allegro.tech.build'
artifactId = 'axion-release-plugin'
}
}
}

publishing {
publications {
sonatype(MavenPublication) { publication ->
from project.shadow.component(publication)
artifact sourcesJar
artifact javadocJar
pom {
name = project.name
description = 'Gradle release and version management plugin'
Expand Down Expand Up @@ -245,6 +247,6 @@ if (System.getenv("GPG_KEY_ID")) {
System.getenv("GPG_PRIVATE_KEY"),
System.getenv("GPG_PRIVATE_KEY_PASSWORD")
)
sign publishing.publications.sonatype
sign publishing.publications
}
}
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ markdown_extensions:
anchorlink: true

extra:
version: '1.13.0'
version: '1.13.1'

pages:
- Home: 'index.md'
Expand Down

0 comments on commit 5bfb848

Please sign in to comment.