mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
More specific running order to generate R.java.
This commit is contained in:
parent
9134c41cc5
commit
8f12f19238
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ public class AndroidPlugin @Inject constructor(val javaCompiler: JavaCompiler) :
|
|||
fun androidJar(project: Project) : Path =
|
||||
Paths.get(ANDROID_HOME, "platforms", "android-${compileSdkVersion(project)}", "android.jar")
|
||||
|
||||
@Task(name = "generateR", description = "Generate the R.java file", runBefore = arrayOf("compile"))
|
||||
@Task(name = "generateR", description = "Generate the R.java file",
|
||||
runBefore = arrayOf("compile"), runAfter = arrayOf("clean"))
|
||||
fun taskGenerateRFile(project: Project) : TaskResult {
|
||||
|
||||
val flavor = "debug"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue