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

ApplicationPlugin work.

This commit is contained in:
Cedric Beust 2015-11-06 20:07:00 -08:00
parent 7b7f279d68
commit 146905da40
8 changed files with 46 additions and 18 deletions

View file

@ -43,12 +43,8 @@ abstract class JvmCompilerPlugin @Inject constructor(
log(2, "${project.name}: $s")
}
var context: KobaltContext? = null
override fun apply(project: Project, context: KobaltContext) {
super.apply(project, context)
this.context = context
context.pluginProperties.put(name, BUILD_DIR, project.buildDirectory + File.separator + "classes")
}