@@ -7,11 +7,22 @@ sidebar_position: 2
77import Tabs from '@theme/Tabs ';
88import TabItem from '@theme/TabItem ';
99import { GradlePluginDSL, GradlePluginLegacy } from '@site/src /components/Snippets';
10+ import versionInfo from '@site/src /version.json';
1011
1112This guide covers how to install and set up the Kotlin Suspend Transform Compiler Plugin in your project.
1213
1314## Version Information
1415
16+ - The latest version on which the current document is based
17+ <small >(usually a version that does not include ` Beta ` or ` RC ` , etc.)</small >: <br />
18+ ** v{versionInfo.version}**
19+
20+ - The latest version in the Maven repository and Gradle plugin portal: <br />
21+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/love.forte.plugin.suspend-transform/suspend-transform-plugin )] ( https://repo1.maven.org/maven2/love/forte/plugin/suspend-transform/suspend-transform-plugin/ )
22+ [ ![ Gradle Plugin Portal] ( https://img.shields.io/gradle-plugin-portal/v/love.forte.plugin.suspend-transform )] ( https://plugins.gradle.org/plugin/love.forte.plugin.suspend-transform )
23+
24+ - The all releases: [ Go to GitHub Releases] ( https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin/releases )
25+
1526### Version Naming Convention
1627
1728Before ` 0.9.0 ` (included), the naming convention for versions was ` x.y.z ` .
@@ -42,7 +53,6 @@ From my memory and guess, Kotlin versions have a higher probability of incompati
4253and a smaller probability of incompatibility when patch is added (e.g. ` 1.9.21 ` -> ` 1.9.22 ` ).
4354:::
4455
45-
4656## Gradle Setup
4757
4858<Tabs >
@@ -69,6 +79,10 @@ suspendTransformPlugin {
6979}
7080```
7181
82+ ## Configuration
83+
84+ For more information on this topic, please refer to [ Configuration] ( ./configuration/configuration.md ) .
85+
7286## Dependencies
7387
7488Plugins may automatically introduce some dependencies.
@@ -85,11 +99,11 @@ K2 is supported since `v0.7.0`.
8599
86100### IDE support in current development projects
87101
88- The IDE does not support highlighting for projects that currently use compiler plugins.
102+ The IDE does ** NOT ** support highlighting for projects that currently use compiler plugins.
89103If you want to verify that the compiler plugin is working, you can:
90104
91105- JVM platform:
92- - Check the compiled class file or its decompiled result.
106+ - Check the compiled ` . class` file or its decompiled result.
93107 - Use reflection to access the expected function in unit testing.
94108- JS platform:
95109 - Check whether the function is generated correctly by generating a ` .d.ts ` file.
0 commit comments