Skip to content

Commit

Permalink
Develop the new release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanzhenjie committed Jul 24, 2020
1 parent b73bb7a commit ccb5db3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ afterEvaluate { project ->
repositories {
mavenDeployer {
repository(url: mavenLocal().getUrl())
pom.groupId = PROJECT_GROUP
pom.artifactId = POM_ARTIFACT_ID
pom.version = PROJECT_VERSION
}
}
}
Expand Down Expand Up @@ -68,9 +71,15 @@ install {
repositories.mavenInstaller {
pom {
project {
packaging POM_PACKAGING
name POM_NAME
description POM_DESCRIPTION
url POM_URL

packaging POM_PACKAGING
groupId PROJECT_GROUP
artifactId POM_ARTIFACT_ID
version PROJECT_VERSION

licenses {
license {
name POM_LICENCE_NAME
Expand Down
2 changes: 1 addition & 1 deletion central.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ afterEvaluate { project ->
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') {
authentication(userName: getSonatypeUserName(), password: getSonatypePassword())
}
configurePom(pom)
} else {
repository(url: mavenLocal().getUrl())
}
configurePom(pom)
}
}
}
Expand Down

0 comments on commit ccb5db3

Please sign in to comment.