Skip to content

Commit

Permalink
updated build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktschwab committed Jul 10, 2023
1 parent e977788 commit c5124a2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-rtron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: "Build uber JAR with Gradle"
run: ./gradlew shadowJar
- name: "Sanity testing: Validation test runs"
run: java -jar ./rtron-cli/build/libs/rtron.jar validate-opendrive ./samples/datasets ./samples/datasets-out
run: java -jar ./rtron-cli/build/libs/rtron.jar validate-opendrive ./samples/datasets ./samples/datasets-output

build:
needs: test
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Plugins.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


object PluginVersions {
const val shadowjar = "7.1.2"
const val shadowjar = "8.1.1"
const val ktlint = "11.5.0"
const val xjc = "1.6"
const val versionChecker = "0.47.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
5 changes: 5 additions & 0 deletions rtron-readerwriter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ tasks.named<Jar>("sourcesJar") {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

tasks.named<org.gradle.jvm.tasks.Jar>("kotlinSourcesJar") {
dependsOn("${ProjectComponents.readerWriter}:xjcGeneration")
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

tasks.withType<KtLintCheckTask> {
dependsOn("${ProjectComponents.readerWriter}:xjcGeneration")
}
Expand Down
2 changes: 2 additions & 0 deletions samples/datasets-output/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit c5124a2

Please sign in to comment.