mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-14 20:50:09 +08:00
Remove md5
This commit is contained in:
parent
e643988c87
commit
8f7a9f21aa
@ -118,6 +118,7 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
val shadowJarMd5 = tasks.register("shadowJarMd5") {
|
||||
dependsOn("shadowJvmJar")
|
||||
|
||||
@ -140,6 +141,7 @@ subprojects {
|
||||
tasks.getByName("publish").dependsOn(this)
|
||||
tasks.getByName("bintrayUpload").dependsOn(this)
|
||||
}.get()
|
||||
*/
|
||||
|
||||
val githubUpload by tasks.creating {
|
||||
group = "mirai"
|
||||
|
@ -73,6 +73,7 @@ inline fun Project.setupPublishing(
|
||||
|
||||
// afterEvaluate {
|
||||
|
||||
/*
|
||||
val shadowJar = tasks.filterIsInstance<ShadowJar>().firstOrNull() ?: return//@afterEvaluate
|
||||
|
||||
tasks.register("shadowJarMd5") {
|
||||
@ -97,6 +98,7 @@ inline fun Project.setupPublishing(
|
||||
tasks.getByName("publish").dependsOn(this)
|
||||
tasks.getByName("bintrayUpload").dependsOn(this)
|
||||
}
|
||||
*/
|
||||
|
||||
if (Bintray.isBintrayAvailable(project)) {
|
||||
bintray {
|
||||
@ -136,11 +138,13 @@ inline fun Project.setupPublishing(
|
||||
publications {
|
||||
register("mavenJava", MavenPublication::class) {
|
||||
from(components["java"])
|
||||
/*
|
||||
afterEvaluate {
|
||||
for (file in tasks.getByName("shadowJarMd5").outputs.files) {
|
||||
artifact(provider { file })
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
groupId = rootProject.group.toString()
|
||||
this.artifactId = artifactId
|
||||
|
@ -123,10 +123,12 @@ afterEvaluate {
|
||||
|
||||
case 'jvm':
|
||||
it.artifactId = isKotlin137x ? "$variantName" : "$variantName-jvm"
|
||||
/*
|
||||
def files = tasks.getByName("shadowJarMd5").outputs.files + tasks.getByName("shadowJvmJar").outputs.files
|
||||
for (f in files) {
|
||||
artifact f
|
||||
}
|
||||
*/
|
||||
break
|
||||
|
||||
case 'js':
|
||||
|
Loading…
Reference in New Issue
Block a user