File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
plugins/src/main/kotlin/hexdebug/conventions Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package hexdebug.conventions
22
33import hexdebug.hexdebugProperties
44import hexdebug.libs
5- import kotlin.io.path.div
65
76plugins {
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-
6452publishing {
6553 repositories {
6654 hexdebugProperties.localMavenUrl?.let {
Original file line number Diff line number Diff line change 11package hexdebug.conventions
22
33import hexdebug.hexdebugProperties
4+ import kotlin.io.path.div
45
56plugins {
67 id(" hexdebug.conventions.architectury" )
@@ -57,6 +58,15 @@ dependencies {
5758// }
5859
5960tasks {
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" ])
You can’t perform that action at this time.
0 commit comments