1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00

dex working.

This commit is contained in:
Cedric Beust 2015-11-03 00:03:20 -08:00
parent 8f12f19238
commit bcee0dc4ae
6 changed files with 64 additions and 25 deletions

View file

@ -42,7 +42,9 @@ abstract class JvmCompilerPlugin @Inject constructor(
var context: KobaltContext? = null
override fun apply(project: Project, context: KobaltContext) {
super.apply(project, context)
this.context = context
pluginProperties.put(BUILD_DIR, project.buildDirectory + File.separator + "classes")
}
/**
@ -113,6 +115,12 @@ abstract class JvmCompilerPlugin @Inject constructor(
lp(project, "No resources to copy for $sourceSet")
}
}
protected val compilerArgs = arrayListOf<String>()
fun addCompilerArgs(vararg args: String) {
compilerArgs.addAll(args)
}
}
class TestConfig(val project: Project) {