Skip to content

Commit

Permalink
release 1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsoft committed May 28, 2021
1 parent 867d2f2 commit 1844003
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
39 changes: 20 additions & 19 deletions agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ plugins {
id 'java'
id 'scala'
id 'maven-publish'
id 'signing'
id 'com.github.maiflai.scalatest' version '0.31'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
Expand Down Expand Up @@ -118,25 +119,6 @@ jar {

jar.finalizedBy shadowJar

bintray {
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
publications = ['shadowPublication']

pkg {
repo = 'releases'
name = 'kanela'
userOrg = 'kamon-io'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/kamon-io/kanela'

version {
name = "${project.version}"
desc = 'Kanela'
released = new Date()
}
}
}

def pomConfig = {
licenses {
Expand Down Expand Up @@ -188,6 +170,25 @@ publishing {
}
}
}

repositories {
maven {
credentials {
username project.ossrhUsername
password project.ossrhPassword
}

def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots'

url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
}

}
}

signing {
sign publishing.publications.shadowPublication
}

task createBuildInfoFile(dependsOn: processResources) {
Expand Down
7 changes: 0 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}


dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
}
}


allprojects {
apply plugin: 'java'
apply plugin: 'com.jfrog.bintray'

configurations {
provided
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 1.0.10
version: 1.0.11

0 comments on commit 1844003

Please sign in to comment.