Skip to content

Commit 88e4e85

Browse files
committed
Remove hexdebug-common jar from jenkinsArtifacts
1 parent 858b111 commit 88e4e85

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

plugins/src/main/kotlin/hexdebug/conventions/architectury.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package hexdebug.conventions
22

33
import hexdebug.hexdebugProperties
44
import hexdebug.libs
5-
import kotlin.io.path.div
65

76
plugins {
87
id("hexdebug.conventions.kotlin")
@@ -50,17 +49,6 @@ sourceSets {
5049
}
5150
}
5251

53-
tasks {
54-
val jenkinsArtifacts = register<Copy>("jenkinsArtifacts") {
55-
from(remapJar)
56-
into(rootDir.toPath() / "build" / "jenkinsArtifacts")
57-
}
58-
59-
build {
60-
dependsOn(jenkinsArtifacts)
61-
}
62-
}
63-
6452
publishing {
6553
repositories {
6654
hexdebugProperties.localMavenUrl?.let {

plugins/src/main/kotlin/hexdebug/conventions/platform.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package hexdebug.conventions
22

33
import hexdebug.hexdebugProperties
4+
import kotlin.io.path.div
45

56
plugins {
67
id("hexdebug.conventions.architectury")
@@ -57,6 +58,15 @@ dependencies {
5758
//}
5859

5960
tasks {
61+
val jenkinsArtifacts = register<Copy>("jenkinsArtifacts") {
62+
from(remapJar)
63+
into(rootDir.toPath() / "build" / "jenkinsArtifacts")
64+
}
65+
66+
build {
67+
dependsOn(jenkinsArtifacts)
68+
}
69+
6070
shadowJar {
6171
exclude("architectury.common.json")
6272
configurations = listOf(project.configurations["shadowCommon"])

0 commit comments

Comments
 (0)