Created
January 31, 2020 09:57
-
-
Save Yazan98/83bebf5661c38930e28e89784117d860 to your computer and use it in GitHub Desktop.
Java Module Bintray Upload Configuration (SpringBoot, Android Java Module)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def artifactID = "vortex-spring-boot" | |
def rootDes = "Vortex SpringBoot is the Base Code TO Build Better Backend Projects" | |
def repoName = "Vortex-SptingBoot" | |
version = "1.0.3" | |
group = "io.vortex" | |
ext { | |
LibraryGroup = "io.vortex" | |
LibraryVersion = "1.0.6" | |
PackagingType = "arr" | |
LibraryName = "Vortex" | |
GithubUrl = "https://github.com/Vortex-io/Vortex-SpringBoot" | |
GitUrl = "https://github.com/Vortex-io/Vortex-SpringBoot.git" | |
licenseName = "Apache-2.0" | |
licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0" | |
distribution = 'repo' | |
GithubIssuesUrl = "https://github.com/Vortex-io/Vortex-SpringBoot/issues" | |
DeveloperID = "yt98" | |
DeveloperName = "Yazan Tarifi" | |
DeveloperEmail = "" | |
Description = "Architecture To Build SpringBoot Applications" | |
BintrayUsername = "yt98" | |
BintrayApiKey = "" | |
} | |
install { | |
repositories.mavenInstaller { | |
pom.project { | |
packaging rootProject.ext.PackagingType | |
name rootProject.ext.LibraryName | |
description "${rootDes}" | |
url rootProject.ext.GithubUrl | |
artifactId "vortex-spring-boot" | |
groupId rootProject.ext.LibraryGroup | |
version rootProject.ext.LibraryVersion | |
licenses { | |
license { | |
name rootProject.ext.licenseName | |
url rootProject.ext.licenseUrl | |
distribution rootProject.ext.distribution | |
} | |
} | |
scm { | |
connection rootProject.ext.GitUrl | |
url rootProject.ext.GithubUrl | |
} | |
developers { | |
developer { | |
id rootProject.ext.DeveloperID | |
name rootProject.ext.DeveloperName | |
email rootProject.ext.DeveloperEmail | |
} | |
} | |
} | |
} | |
} | |
bintray { | |
user = "${rootProject.ext.BintrayUsername}" | |
key = "${rootProject.ext.BintrayApiKey}" | |
configurations = ['archives'] | |
publications = ['mavenJava'] | |
publish = true | |
pkg { | |
repo = rootProject.ext.LibraryName | |
name = "${repoName}" | |
desc = "${rootDes}" | |
dryRun = false | |
publish = true | |
override = true | |
userOrg = user | |
licenses = ["${rootProject.ext.licenseName}"] | |
vcsUrl = rootProject.ext.GitUrl | |
issueTrackerUrl = rootProject.ext.GithubIssuesUrl | |
publicDownloadNumbers = true | |
} | |
} | |
tasks.register("sourcesJar", Jar) { | |
from sourceSets.main.allJava | |
classifier "sources" | |
} | |
tasks.register("javadocJar", Jar) { | |
from javadoc | |
classifier "javadoc" | |
} | |
publishing { | |
publications { | |
mavenJava(MavenPublication) { | |
from components.java | |
artifact sourcesJar | |
artifact javadocJar | |
pom { | |
description = "Base COde To BUild SpringBoot Apps" | |
url = "https://github.com/Vortex-io/Vortex-SpringBoot" | |
groupId = "io.vortex" | |
artifactId "${artifactID}" | |
version rootProject.ext.LibraryVersion | |
licenses { | |
license { | |
name = "Apache-2.0" | |
url = rootProject.ext.licenseUrl | |
distribution = rootProject.ext.distribution | |
} | |
} | |
developers { | |
developer { | |
id = "Yazan98" | |
name = "Yazan" | |
email = "yazantarifi1@hotmail.com" | |
} | |
} | |
scm { | |
connection = "scm:git:https://github.com/Vortex-io/Vortex-SpringBoot.git" | |
developerConnection = "scm:git:https://github.com/Vortex-io/Vortex-SpringBoot.git" | |
url = "https://github.com/Vortex-io/Vortex-SpringBoot" | |
} | |
} | |
} | |
} | |
} | |
artifacts { | |
archives javadocJar | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment