Skip to content

Commit

Permalink
Fixed circularity bug; ./gradlew build will allways succedd
Browse files Browse the repository at this point in the history
  • Loading branch information
cuttestkittensrule committed Jan 8, 2024
1 parent 66e3407 commit d887873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
cache: gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build lib jars
working-directory: Robot2024
run: ./gradlew lib:jar
- name: Run build for main project with Gradle Wrapper
- name: Run build with Gradle Wrapper
working-directory: Robot2024
run: ./gradlew build
2 changes: 2 additions & 0 deletions Robot2024/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ jar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

downloadDepsPreemptively.dependsOn "lib:jar"

// Configure jar and deploy tasks
deployArtifact.jarTask = jar
wpi.java.configureExecutableTasks(jar)
Expand Down

0 comments on commit d887873

Please sign in to comment.