We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f2a51e + 60a04d5 commit 1cd48f3Copy full SHA for 1cd48f3
j2objc.gradle
@@ -764,6 +764,11 @@ class J2objcCompileTask extends DefaultTask {
764
@TaskAction
765
def compile() {
766
if (project.j2objcConfig.compileSkip) {
767
+ assert project.j2objcConfig.testSkip
768
+ // TODO: When we use task.enabled, dependencies will handle
769
+ // this correctly. Currently, touching the file is required to
770
+ // avoid j2objcTest from complaining about a lack of input files.
771
+ destFile.createNewFile()
772
logger.debug "Skipping j2objcCompile"
773
return
774
}
0 commit comments