Pill: Removed unused NONE variant
This commit is contained in:
@@ -21,11 +21,6 @@ open class PillExtension {
|
|||||||
override val includes = setOf(BASE, FULL)
|
override val includes = setOf(BASE, FULL)
|
||||||
},
|
},
|
||||||
|
|
||||||
// Do not import the project to JPS model, but set some options for it
|
|
||||||
NONE {
|
|
||||||
override val includes = emptySet<Variant>()
|
|
||||||
},
|
|
||||||
|
|
||||||
// 'BASE' if the "jps-compatible" plugin is applied, 'NONE' otherwise
|
// 'BASE' if the "jps-compatible" plugin is applied, 'NONE' otherwise
|
||||||
DEFAULT {
|
DEFAULT {
|
||||||
override val includes = emptySet<Variant>()
|
override val includes = emptySet<Variant>()
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ class JpsCompatiblePluginTasks(private val rootProject: Project, private val pla
|
|||||||
|
|
||||||
rootProject.logger.lifecycle("Pill: Setting up project for the '${variant.name.toLowerCase()}' variant...")
|
rootProject.logger.lifecycle("Pill: Setting up project for the '${variant.name.toLowerCase()}' variant...")
|
||||||
|
|
||||||
if (variant == PillExtensionMirror.Variant.NONE || variant == PillExtensionMirror.Variant.DEFAULT) {
|
if (variant == PillExtensionMirror.Variant.DEFAULT) {
|
||||||
rootProject.logger.error("'none' and 'default' should not be passed as a Pill variant property value")
|
rootProject.logger.error("'none' and 'default' should not be passed as a Pill variant property value")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,11 +22,6 @@ open class PillExtensionMirror(variant: String, val excludedDirs: List<File>) {
|
|||||||
override val includes = setOf(BASE, FULL)
|
override val includes = setOf(BASE, FULL)
|
||||||
},
|
},
|
||||||
|
|
||||||
// Do not import the project to JPS model, but set some options for it
|
|
||||||
NONE {
|
|
||||||
override val includes = emptySet<Variant>()
|
|
||||||
},
|
|
||||||
|
|
||||||
// 'BASE' if the "jps-compatible" plugin is applied, 'NONE' otherwise
|
// 'BASE' if the "jps-compatible" plugin is applied, 'NONE' otherwise
|
||||||
DEFAULT {
|
DEFAULT {
|
||||||
override val includes = emptySet<Variant>()
|
override val includes = emptySet<Variant>()
|
||||||
|
|||||||
Reference in New Issue
Block a user