Skip to content

Commit 80d9fa4

Browse files
authored
Merge pull request #8 from compscidr/kotlin-1.3.61-fix
API no longer supports LoadingOrder paramerter
2 parents a66b9bd + c8a5943 commit 80d9fa4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To use the plugin, just apply the plugin in your `build.gradle`:
2222

2323
```groovy
2424
plugins {
25-
id 'nl.fabianm.kotlin.plugin.generated' version '1.4.0'
25+
id 'nl.fabianm.kotlin.plugin.generated' version '1.5.0'
2626
}
2727
```
2828

@@ -34,6 +34,7 @@ version you are using:
3434
| 1.2.* | 1.0 |
3535
| 1.3.0+ | 1.3.3 |
3636
| 1.3.50+| 1.4.0 |
37+
| 1.3.61+| 1.5.0 |
3738

3839
You can optionally configure the plugin as shown below:
3940

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
*/
1616

1717
plugins {
18-
kotlin("jvm") version "1.3.50" apply false
18+
kotlin("jvm") version "1.3.60" apply false
1919
id("org.jlleitschuh.gradle.ktlint") version "8.2.0" apply false
2020
id("com.github.johnrengelman.shadow") version "5.0.0" apply false
2121
}
2222

2323
allprojects {
2424
group = "nl.fabianm.kotlin.plugin.generated"
25-
version = "1.4.0"
25+
version = "1.5.0"
2626

2727
extra["junitJupiterVersion"] = "5.4.2"
2828
extra["junitPlatformVersion"] = "1.4.2"

plugin-compiler/src/main/kotlin/nl/fabianm/kotlin/plugin/generated/compiler/GeneratedPlugin.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package nl.fabianm.kotlin.plugin.generated.compiler
1818

1919
import com.intellij.mock.MockProject
2020
import com.intellij.openapi.extensions.Extensions
21-
import com.intellij.openapi.extensions.LoadingOrder
2221
import com.intellij.openapi.extensions.impl.ExtensionPointImpl
2322
import com.intellij.openapi.project.Project
2423
import nl.fabianm.kotlin.plugin.generated.compiler.GeneratedConfigurationKeys.ANNOTATION
@@ -109,5 +108,5 @@ fun <T> ProjectExtensionDescriptor<T>.registerExtensionAsFirst(project: Project,
109108
Extensions.getArea(project)
110109
.getExtensionPoint(extensionPointName)
111110
.let { it as ExtensionPointImpl }
112-
.registerExtension(extension, LoadingOrder.LAST) {}
111+
.registerExtension(extension, {})
113112
}

plugin-gradle/src/main/kotlin/nl/fabianm/kotlin/plugin/generated/gradle/GeneratedSubplugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class GeneratedKotlinGradleSubplugin : KotlinGradleSubplugin<AbstractCompile> {
5050
companion object {
5151
private const val GENERATED_ARTIFACT_NAME = "plugin-gradle"
5252
private const val GENERATED_GROUP_ID = "nl.fabianm.kotlin.plugin.generated"
53-
private const val GENERATED_VERSION = "1.4.0"
53+
private const val GENERATED_VERSION = "1.5.0"
5454
private const val GENERATED_COMPILER_PLUGIN_ID = "nl.fabianm.kotlin.plugin.generated"
5555
private val ANNOTATION_ARG_NAME = "annotation"
5656
private val VISIBLE_ARG_NAME = "visible"

0 commit comments

Comments
 (0)