File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
ui/kotlinx-coroutines-android Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ dokka {
38
38
if (project. name != " kotlinx-coroutines-core" ) {
39
39
dependsOn(project. configurations. compileClasspath)
40
40
dependsOn(project. sourceSets. main. output)
41
- afterEvaluate {
41
+ doFirst {
42
+ // resolve classpath only during execution
42
43
classpath = project. configurations. dokkaStubs. files + project. configurations. compileClasspath. files + project. sourceSets. main. output. files
43
44
}
44
45
}
Original file line number Diff line number Diff line change @@ -48,7 +48,12 @@ class RunR8Task extends JavaExec {
48
48
super . configure(closure)
49
49
classpath = project. configurations. r8
50
50
main = ' com.android.tools.r8.R8'
51
+ return this
52
+ }
51
53
54
+ @Override
55
+ void exec () {
56
+ // Resolve classpath only during execution
52
57
def arguments = [
53
58
' --release' ,
54
59
' --no-desugaring' ,
@@ -59,11 +64,7 @@ class RunR8Task extends JavaExec {
59
64
arguments. addAll(jarFile. absolutePath)
60
65
61
66
args = arguments
62
- return this
63
- }
64
67
65
- @Override
66
- void exec () {
67
68
if (outputDex. exists()) {
68
69
outputDex. deleteDir()
69
70
}
You can’t perform that action at this time.
0 commit comments