com.avito.test.gradle.module.FolderModule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of test-project Show documentation
Show all versions of test-project Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.test.gradle.module
import com.avito.test.gradle.dependencies.GradleDependency
import com.avito.test.gradle.module
import com.avito.test.gradle.plugin.PluginsSpec
import java.io.File
/**
* The folder for modules
* :test:utils <- for example
*/
public class FolderModule(
override val name: String,
override val modules: List
) : Module {
override val dependencies: Set = emptySet()
override val plugins: PluginsSpec = PluginsSpec()
override val buildGradleExtra: String = ""
override val useKts: Boolean = false
override fun generateIn(file: File) {
file.module(name) {
modules.forEach { it.generateIn(this) }
}
}
}