Skip to content

Commit 73df4fc

Browse files
Merge pull request #58 from CommonWealthRobotics/kh/fix-build-script-compatibility
Repair the CI build of bowlerstudio from the update
2 parents 8b801f3 + 213fcd5 commit 73df4fc

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

build.gradle

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
buildscript {
2+
3+
dependencies {
4+
classpath 'com.gradleup.shadow:shadow-gradle-plugin:8.3.9'
5+
}
6+
}
7+
18
plugins {
29
id 'java'
3-
id 'java-library'
410
id 'signing'
511
id 'maven-publish'
6-
id 'com.gradleup.shadow' version '8.3.9'
12+
id 'java-library'
13+
}
14+
if (project == rootProject) {
15+
apply plugin: 'com.gradleup.shadow'
716
}
817

918
tasks.withType(JavaCompile).configureEach {
@@ -296,7 +305,7 @@ jar {
296305
)
297306
}
298307
}
299-
308+
if (project == rootProject) {
300309
shadowJar {
301310
zip64 true
302311
//mainClassName = 'com.neuronrobotics.bowlerstudio.BowlerKernel'
@@ -310,6 +319,7 @@ shadowJar {
310319
}
311320
mergeServiceFiles()
312321
}
322+
}
313323

314324
group = "com.neuronrobotics"
315325

0 commit comments

Comments
 (0)