AllOpen: Allow to specify presets in the Gradle plugin
This commit is contained in:
+4
@@ -31,4 +31,8 @@ open class AllOpenExtension {
|
|||||||
open fun annotations(vararg fqNames: String) {
|
open fun annotations(vararg fqNames: String) {
|
||||||
myAnnotations.addAll(fqNames)
|
myAnnotations.addAll(fqNames)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open fun preset(name: String) {
|
||||||
|
myPresets.add(name)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user