Skip to content

Commit

Permalink
[ bintray ] I can't believe it
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed May 5, 2018
1 parent c4d7696 commit be3f67e
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,23 @@ tasks.withType<JavaCompile> {
}
}

bintray {
user = "ice1000"
setConfigurations("archives")
pkg.apply {
name = project.name
repo = "FriceEngine"
githubRepo = "icela/FriceEngine"
publicDownloadNumbers = true
vcsUrl = "https://github.com/icela/FriceEngine.git"
version.apply {
name = comingVersion
vcsTag = "v$comingVersion"
websiteUrl = "https://github.com/icela/FriceEngine/releases/tag/$vcsTag"
}
}
}

publishing {
(publications) {
"mavenJava"(MavenPublication::class) {
Expand All @@ -106,22 +123,6 @@ publishing {
}
}

bintray {
user = "ice1000"
pkg.apply {
name = project.name
repo = "FriceEngine"
githubRepo = "icela/FriceEngine"
publicDownloadNumbers = true
vcsUrl = "https://github.com/icela/FriceEngine.git"
version.apply {
name = comingVersion
vcsTag = "v$comingVersion"
websiteUrl = "https://github.com/icela/FriceEngine/releases/tag/$vcsTag"
}
}
}

java.sourceSets {
"main" {
resources.srcDirs("res")
Expand Down

0 comments on commit be3f67e

Please sign in to comment.