Skip to content

Commit c862e02

Browse files
committed
remove native plugin because now you can use the same plugin for all targets
1 parent 57fb2d9 commit c862e02

File tree

18 files changed

+25
-509
lines changed

18 files changed

+25
-509
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
with:
1515
java-version: 1.8
1616
- name: Build with Gradle
17-
run: ./gradlew build
17+
run: ./gradlew clean kotlin-plugin:publishToMavenLocal build

Readme.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,18 @@ This is an example project that shows how to create a Kotlin Compiler Plugin. At
2828
> :information_source: Please be aware that the Kotlin Compiler still doesn’t have any stable API and there is no
2929
> backwards compatibility guaranteed. Kotlin versions above 1.8.0 can have a totally different API.
3030
31-
* Inside the project folder run ` ./gradlew clean build`
31+
* Inside the project folder run ` ./gradlew clean kotlin-plugin:publishToMavenLocal build`
3232

3333
The plugin is only active when the build cache is changed. This is why you need to run "clean" before building, when you want to see the log output again.
3434

3535
### 👷 Project Structure
3636
#### src
37-
* <kbd>src</kbd> - A Kotlin Multiplatform project which applies a gradle plugin(compiler.plugin.helloworld) whichs triggers the compiler plugin.
37+
* <kbd>lib</kbd> - A Kotlin Multiplatform project which applies a gradle plugin(compiler.plugin.helloworld) whichs triggers the compiler plugin.
3838

39-
#### buildSrc/compiler-plugin
40-
* <kbd>kotlin-compiler-native-plugin</kbd> - This module contains the Kotlin Compiler Plugin for native targets
41-
* <kbd>kotlin-compiler-plugin</kbd> - This module contains the Kotlin Compiler Plugin for JVM/JS targets
39+
#### kotlin-compiler-plugin
40+
* <kbd>kotlin-compiler-plugin</kbd> - This module contains the Kotlin Compiler Plugin
4241

43-
#### buildSrc/gradle-plugin
42+
#### gradle-plugin
4443
* <kbd>gradle-plugin</kbd> - This module contains the gradle plugin which trigger the two compiler plugins
4544
*
4645
## Useful resources

build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ apply(plugin = "compiler.gradleplugin.helloworld")
1818
System.setProperty("kotlin.compiler.execution.strategy", "in-process") // For debugging
1919

2020

21-
configure<de.jensklingenberg.gradle.TestCompilerExtension> {
22-
enabled = true
23-
}
21+
2422

2523
allprojects {
2624
repositories {

buildSrc/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

buildSrc/build.gradle.kts

Lines changed: 0 additions & 25 deletions
This file was deleted.

buildSrc/gradle-plugin/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

buildSrc/gradle-plugin/gradle.properties

Lines changed: 0 additions & 19 deletions
This file was deleted.

buildSrc/gradlew

Lines changed: 0 additions & 234 deletions
This file was deleted.

0 commit comments

Comments
 (0)