Add @Input to moduleName, to incorporate it into the up-to-date checks

This commit is contained in:
Sergey Igushkin
2017-08-10 21:22:04 +03:00
parent 84e1e9f8aa
commit b938206234
@@ -132,6 +132,8 @@ abstract class AbstractKotlinCompile<T : CommonCompilerArguments>() : AbstractKo
internal var friendTaskName: String? = null
internal var javaOutputDir: File? = null
internal var sourceSetName: String by Delegates.notNull()
@get:Input
internal val moduleName: String
get() {
val baseName = project.convention.findPlugin(BasePluginConvention::class.java)?.archivesBaseName