mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
dex working.
This commit is contained in:
parent
8f12f19238
commit
bcee0dc4ae
6 changed files with 64 additions and 25 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue