exposed-intellij-plugin
exposed-intellij-plugin copied to clipboard
Support kotlinx-datetime and jodatime
Addresses #9
This provides a configuration item for which time library to generate time and datetime mappings for. This can be set using either the gradle DSL or the configuration file as shown below.
kotlinx-datetime:
exposedCodeGeneratorConfig {
dateTimeProvider = "kotlin-datetime"
}
// or in config.yml
dateTime = kotlin-datetime
java.time
exposedCodeGeneratorConfig {
dateTimeProvider = "java-time"
}
// or in config.yml
dateTime = java-time
jodatime
exposedCodeGeneratorConfig {
dateTimeProvider = "jodatime"
}
// or in config.yml
dateTime = jodatime
This has been tested in my own projects as functional using mavenLocal publishing of the plugin.