Commit bde40d34 authored by Him188's avatar Him188

Publishing without `-jvm`

parent edde57a2
......@@ -16,6 +16,8 @@ if (!Bintray.isBintrayAvailable(project)) {
return
}
def miraiGitHubUrl = "https://github.com/mamoe/mirai"
def pomConfig = {
licenses {
license {
......@@ -32,7 +34,7 @@ def pomConfig = {
}
}
scm {
url "https://github.com/mamoe/mirai"
url miraiGitHubUrl
}
}
......@@ -44,7 +46,13 @@ bintray {
repo = 'mirai'
name = "mirai-core"
licenses = ['AGPL']
vcsUrl = 'https://github.com/mamoe/mirai'
vcsUrl = miraiGitHubUrl
websiteUrl = miraiGitHubUrl
githubRepo = miraiGitHubUrl
issueTrackerUrl = "$miraiGitHubUrl/issues"
/* version {
name = project.version
}*/
}
}
......@@ -57,7 +65,7 @@ afterEvaluate {
//root.appendNode('version', project.version)
root.appendNode('name', project.name)
root.appendNode('description', project.description)
root.appendNode('url', 'https://github.com/mamoe/mirai')
root.appendNode('url', miraiGitHubUrl)
root.children().last() + pomConfig
}
}
......@@ -99,13 +107,13 @@ publishing {
def type = it.name
switch (type) {
case 'kotlinMultiplatform':
it.artifactId = "$project.name"
it.artifactId = "$project.name-native"
break
case 'metadata':
it.artifactId = "$project.name-common"
break
case 'jvm':
it.artifactId = "$project.name-jvm"
it.artifactId = "$project.name"
break
case 'js':
case 'native':
......@@ -118,4 +126,6 @@ publishing {
moduleDescriptorGenerator = null
}
}
}
\ No newline at end of file
}
// bintrayUpload.dependsOn publishToMavenLocal
\ No newline at end of file
#Tue Mar 31 10:18:00 CST 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment