Skip to content

Commit

Permalink
[SkipCI] Remove .cxx build dir when running task "clean"
Browse files Browse the repository at this point in the history
"delete rootProject.buildDir" not needed anymore, AGP already handles that
  • Loading branch information
ViliusSutkus89 committed Jan 3, 2024
1 parent d74f1ed commit cd07da3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}

task clean(type: Delete) {
delete rootProject.buildDir
}

group = 'com.viliussutkus89'
version = '0.18.24'
Expand Down
7 changes: 7 additions & 0 deletions pdf2htmlEX/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,17 @@ publishing {
}
}
}

if (System.getenv('SIGNING_KEY')) {
signing {
required { true }
useInMemoryPgpKeys(System.getenv('SIGNING_KEY'), System.getenv('SIGNING_PASS'))
sign publishing.publications.release
}
}

tasks.named("clean") {
doFirst {
delete(new File(projectDir, ".cxx"))
}
}

0 comments on commit cd07da3

Please sign in to comment.