Skip to content

Commit

Permalink
Remove exclusion publishMavenPublicationToProjectLocalMavenRepository…
Browse files Browse the repository at this point in the history
… is not re-executed now and doesn't generate more SNAPSHOTs.
  • Loading branch information
TWiStErRob committed Jul 21, 2023
1 parent eaf11de commit 335e464
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions paparazzi-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,9 @@ tasks.withType(Test).configureEach {
// These are referenced with relative paths in src/test/projects/test.settings.gradle.
// They need to be declared on the Test task to make sure it runs with the new files.
inputs.file(rootProject.layout.projectDirectory.file("gradle/libs.versions.toml"))
.withPropertyName("libs.versions.toml")
inputs.dir(fileTree(rootProject.layout.buildDirectory.dir("localMaven")) {
// Exclude Maven repository files, to prevent cache misses because of changing `<lastUpdated>20230715095719</lastUpdated>`.
exclude("**/maven-metadata.xml")
exclude("**/maven-metadata.xml.*")
}).withPropertyName("localMaven")
.withPropertyName("libs.versions.toml")
inputs.dir(rootProject.layout.buildDirectory.dir("localMaven"))
.withPropertyName("localMaven")
dependsOn(':paparazzi:publishMavenPublicationToProjectLocalMavenRepository')
dependsOn(':paparazzi-agent:publishMavenPublicationToProjectLocalMavenRepository')
}
Expand Down

0 comments on commit 335e464

Please sign in to comment.