Skip to content

Commit cd07da3

Browse files
[SkipCI] Remove .cxx build dir when running task "clean"
"delete rootProject.buildDir" not needed anymore, AGP already handles that
1 parent d74f1ed commit cd07da3

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ plugins {
44
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
55
}
66

7-
task clean(type: Delete) {
8-
delete rootProject.buildDir
9-
}
107

118
group = 'com.viliussutkus89'
129
version = '0.18.24'

pdf2htmlEX/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,17 @@ publishing {
110110
}
111111
}
112112
}
113+
113114
if (System.getenv('SIGNING_KEY')) {
114115
signing {
115116
required { true }
116117
useInMemoryPgpKeys(System.getenv('SIGNING_KEY'), System.getenv('SIGNING_PASS'))
117118
sign publishing.publications.release
118119
}
119120
}
121+
122+
tasks.named("clean") {
123+
doFirst {
124+
delete(new File(projectDir, ".cxx"))
125+
}
126+
}

0 commit comments

Comments
 (0)