Use DynamicBundle instead of AbstractBundle in MyBundle.kt

This commit is contained in:
Jakub Chrzanowski 2021-08-13 14:02:52 +02:00 committed by Jakub Chrzanowski
parent 1f68a13de9
commit 3ab6c490fa
2 changed files with 8 additions and 4 deletions

View File

@ -11,9 +11,6 @@
- JVM compatibility version extracted to `gradle.properties` file
- `Publish Plugin` run configuration
### Removed
- Removed `detekt`/`ktlint` integration
### Changed
- GitHub Actions: Use Java 11
- Update `pluginVerifierIdeVersions` to `2020.3.4, 2021.1.3`
@ -25,6 +22,12 @@
- Dependencies - upgrade `org.jetbrains.intellij` to `1.1.4`
- Dependencies (GitHub Actions) - upgrade `actions/upload-artifact` to `v2.2.4`
### Fixed
- Use `DynamicBundle` instead of `AbstractBundle` in `MyBundle.kt`
### Removed
- Removed `detekt`/`ktlint` integration
## [0.10.1]
### Added
- Introduced `next` branch in the root repository to make `main` always a stable one

View File

@ -1,13 +1,14 @@
package org.jetbrains.plugins.template
import com.intellij.AbstractBundle
import com.intellij.DynamicBundle
import org.jetbrains.annotations.NonNls
import org.jetbrains.annotations.PropertyKey
@NonNls
private const val BUNDLE = "messages.MyBundle"
object MyBundle : AbstractBundle(BUNDLE) {
object MyBundle : DynamicBundle(BUNDLE) {
@Suppress("SpreadOperator")
@JvmStatic