mirror of
				https://github.com/JetBrains/intellij-platform-plugin-template.git
				synced 2025-06-13 13:04:09 +00:00 
			
		
		
		
	Use DynamicBundle instead of AbstractBundle in MyBundle.kt
				
					
				
			This commit is contained in:
		
							parent
							
								
									1f68a13de9
								
							
						
					
					
						commit
						3ab6c490fa
					
				| @ -11,9 +11,6 @@ | |||||||
| - JVM compatibility version extracted to `gradle.properties` file | - JVM compatibility version extracted to `gradle.properties` file | ||||||
| - `Publish Plugin` run configuration | - `Publish Plugin` run configuration | ||||||
| 
 | 
 | ||||||
| ### Removed |  | ||||||
| - Removed `detekt`/`ktlint` integration |  | ||||||
| 
 |  | ||||||
| ### Changed | ### Changed | ||||||
| - GitHub Actions: Use Java 11 | - GitHub Actions: Use Java 11 | ||||||
| - Update `pluginVerifierIdeVersions` to `2020.3.4, 2021.1.3` | - Update `pluginVerifierIdeVersions` to `2020.3.4, 2021.1.3` | ||||||
| @ -25,6 +22,12 @@ | |||||||
| - Dependencies - upgrade `org.jetbrains.intellij` to `1.1.4` | - Dependencies - upgrade `org.jetbrains.intellij` to `1.1.4` | ||||||
| - Dependencies (GitHub Actions) - upgrade `actions/upload-artifact` to `v2.2.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] | ## [0.10.1] | ||||||
| ### Added | ### Added | ||||||
| - Introduced `next` branch in the root repository to make `main` always a stable one | - Introduced `next` branch in the root repository to make `main` always a stable one | ||||||
|  | |||||||
| @ -1,13 +1,14 @@ | |||||||
| package org.jetbrains.plugins.template | package org.jetbrains.plugins.template | ||||||
| 
 | 
 | ||||||
| import com.intellij.AbstractBundle | import com.intellij.AbstractBundle | ||||||
|  | import com.intellij.DynamicBundle | ||||||
| import org.jetbrains.annotations.NonNls | import org.jetbrains.annotations.NonNls | ||||||
| import org.jetbrains.annotations.PropertyKey | import org.jetbrains.annotations.PropertyKey | ||||||
| 
 | 
 | ||||||
| @NonNls | @NonNls | ||||||
| private const val BUNDLE = "messages.MyBundle" | private const val BUNDLE = "messages.MyBundle" | ||||||
| 
 | 
 | ||||||
| object MyBundle : AbstractBundle(BUNDLE) { | object MyBundle : DynamicBundle(BUNDLE) { | ||||||
| 
 | 
 | ||||||
|     @Suppress("SpreadOperator") |     @Suppress("SpreadOperator") | ||||||
|     @JvmStatic |     @JvmStatic | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user