Skip to content

Commit 7f8569d

Browse files
committed
Ensure r8Jar task is invalidated by shadowJar changes
1 parent 2c7245b commit 7f8569d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ tasks.register('r8Jar', JavaExec) { task ->
104104
def rules = file('r8-rules.txt')
105105
task.dependsOn(tasks.shadowJar)
106106
task.outputs.file(r8File)
107+
task.inputs.files shadowJar.getArchiveFile()
107108

108109
task.classpath(configurations.r8)
109110
task.main = 'com.android.tools.r8.R8'

0 commit comments

Comments
 (0)