Skip to content

Commit d45b6d8

Browse files
committed
Attempt to remove files from download
1 parent 8163892 commit d45b6d8

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ githubRelease {
8181
owner("DuncteBot")
8282
repo("skybot-lavalink-plugin")
8383
targetCommitish(System.getenv("RELEASE_TARGET"))
84-
releaseAssets(tasks.shadowJar.get().outputs.files.toList())
84+
// releaseAssets(tasks.shadowJar.get().outputs.files.toList())
8585
tagName(verName)
8686
releaseName(verName)
8787
overwrite(false)

source-managers/build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.gradle.kotlin.dsl.register
2+
13
/*
24
* Copyright 2021 Duncan "duncte123" Sterken
35
*
@@ -20,7 +22,7 @@ plugins {
2022
}
2123

2224
project.group = "com.dunctebot"
23-
project.version = "1.9.0"
25+
project.version = "1.9.1"
2426
val archivesBaseName = "sourcemanagers"
2527

2628
dependencies {
@@ -45,7 +47,7 @@ val build: Task by tasks
4547
val clean: Task by tasks
4648
//val publish: Task by tasks
4749

48-
val sourcesJar = task<Jar>("sourcesJar") {
50+
val sourcesJar = tasks.register<Jar>("sourcesJar") {
4951
archiveClassifier.set("sources")
5052
from(sourceSets["main"].allJava)
5153
}
@@ -56,7 +58,7 @@ build.apply {
5658
dependsOn(sourcesJar)
5759

5860
jar.mustRunAfter(clean)
59-
sourcesJar.mustRunAfter(jar)
61+
sourcesJar.get().mustRunAfter(jar)
6062
}
6163

6264
//publishing {

0 commit comments

Comments
 (0)