KT-30343 Add new Quarkus preset to all-open compiler plugin
This commit is contained in:
committed by
Yan Zhulanow
parent
7ecd88aae3
commit
f11c5a335a
@@ -34,13 +34,17 @@ object AllOpenConfigurationKeys {
|
|||||||
|
|
||||||
class AllOpenCommandLineProcessor : CommandLineProcessor {
|
class AllOpenCommandLineProcessor : CommandLineProcessor {
|
||||||
companion object {
|
companion object {
|
||||||
val SUPPORTED_PRESETS = mapOf("spring" to listOf(
|
val SUPPORTED_PRESETS = mapOf(
|
||||||
"org.springframework.stereotype.Component",
|
"spring" to listOf(
|
||||||
"org.springframework.transaction.annotation.Transactional",
|
"org.springframework.stereotype.Component",
|
||||||
"org.springframework.scheduling.annotation.Async",
|
"org.springframework.transaction.annotation.Transactional",
|
||||||
"org.springframework.cache.annotation.Cacheable",
|
"org.springframework.scheduling.annotation.Async",
|
||||||
"org.springframework.boot.test.context.SpringBootTest",
|
"org.springframework.cache.annotation.Cacheable",
|
||||||
"org.springframework.validation.annotation.Validated"))
|
"org.springframework.boot.test.context.SpringBootTest",
|
||||||
|
"org.springframework.validation.annotation.Validated"),
|
||||||
|
"quarkus" to listOf(
|
||||||
|
"javax.enterprise.context.ApplicationScoped",
|
||||||
|
"javax.enterprise.context.RequestScoped"))
|
||||||
|
|
||||||
val ANNOTATION_OPTION = CliOption("annotation", "<fqname>", "Annotation qualified names",
|
val ANNOTATION_OPTION = CliOption("annotation", "<fqname>", "Annotation qualified names",
|
||||||
required = false, allowMultipleOccurrences = true)
|
required = false, allowMultipleOccurrences = true)
|
||||||
@@ -71,4 +75,4 @@ class AllOpenComponentRegistrar : ComponentRegistrar {
|
|||||||
|
|
||||||
DeclarationAttributeAltererExtension.registerExtension(project, CliAllOpenDeclarationAttributeAltererExtension(annotations))
|
DeclarationAttributeAltererExtension.registerExtension(project, CliAllOpenDeclarationAttributeAltererExtension(annotations))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user