Skip to content

Commit 766ce53

Browse files
author
Martin
committed
improved bintray publish info
1 parent 6524c93 commit 766ce53

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

.idea/modules/enums.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ plugins {
2626
// https://docs.travis-ci.com/user/environment-variables/
2727
def isCi = System.getenv("TRAVIS") != null
2828

29-
group 'com.tmtron.enums'
30-
version '1.0.0'
31-
description 'Annotation processor that builds an enum mapper which causes a compile-time error when you forget an enum'
3229
ext {
3330
bintrayDryRun = false
3431
}
3532

3633
subprojects {
3734

35+
group 'com.tmtron.enums'
36+
version '1.0.0'
37+
description 'Annotation processor that builds an enum mapper which causes a compile-time error when you forget an enum'
38+
3839
repositories {
3940
mavenCentral()
4041
}

gradle/bintray.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ apply plugin: 'com.jfrog.bintray'
55
def vcProvider = 'github'
66
def vcProviderUser = 'tmtron'
77
def vcProviderProject = 'enum-mapper'
8+
def vcGithubRepo = "${vcProviderUser}/${vcProviderProject}"
89
// e.g. https://github.com/tmtron/enum-mapper
910
def vcProviderUrl = "https://${vcProvider}.com/${vcProviderUser}/${vcProviderProject}"
11+
def vcProviderIssuesUrl = "${vcProviderUrl}/issues"
1012
def vcProviderScmUrl = "scm:git:${vcProviderUrl}.git"
1113
def bintrayPackage = "com.tmtron.${vcProviderProject}"
1214

@@ -18,12 +20,20 @@ bintray {
1820
pkg {
1921
repo = 'maven'
2022
name = bintrayPackage
23+
desc = "$project.description"
2124
licenses = ['Apache-2.0']
25+
websiteUrl = vcProviderUrl
26+
issueTrackerUrl = vcProviderIssuesUrl
2227
vcsUrl = vcProviderScmUrl
28+
29+
githubRepo = vcGithubRepo
30+
githubReleaseNotesFile = 'README.md' //Optional Github readme file
31+
2332
version {
2433
name = "$project.version"
34+
released = new Date()
2535
gpg {
26-
sign = true
36+
sign = true //Determines whether to GPG sign the files. The default is false
2737
}
2838
}
2939
}

0 commit comments

Comments
 (0)