Skip to content

Commit

Permalink
Remove hexdebug-common jar from jenkinsArtifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Feb 9, 2025
1 parent 858b111 commit 88e4e85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package hexdebug.conventions

import hexdebug.hexdebugProperties
import hexdebug.libs
import kotlin.io.path.div

plugins {
id("hexdebug.conventions.kotlin")
Expand Down Expand Up @@ -50,17 +49,6 @@ sourceSets {
}
}

tasks {
val jenkinsArtifacts = register<Copy>("jenkinsArtifacts") {
from(remapJar)
into(rootDir.toPath() / "build" / "jenkinsArtifacts")
}

build {
dependsOn(jenkinsArtifacts)
}
}

publishing {
repositories {
hexdebugProperties.localMavenUrl?.let {
Expand Down
10 changes: 10 additions & 0 deletions plugins/src/main/kotlin/hexdebug/conventions/platform.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package hexdebug.conventions

import hexdebug.hexdebugProperties
import kotlin.io.path.div

plugins {
id("hexdebug.conventions.architectury")
Expand Down Expand Up @@ -57,6 +58,15 @@ dependencies {
//}

tasks {
val jenkinsArtifacts = register<Copy>("jenkinsArtifacts") {
from(remapJar)
into(rootDir.toPath() / "build" / "jenkinsArtifacts")
}

build {
dependsOn(jenkinsArtifacts)
}

shadowJar {
exclude("architectury.common.json")
configurations = listOf(project.configurations["shadowCommon"])
Expand Down

0 comments on commit 88e4e85

Please sign in to comment.