Skip to content

Commit

Permalink
Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Aug 18, 2020
1 parent 4a92906 commit 8746f48
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README-chs.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ IDE (IntelliJ) 插件会帮助为 Java 调用方隐藏 `suspend fun downloadImag

- 提供 `public annotation class net.mamoe.kjbb.JvmBlockingBridge`
- 提供 `internal annotation class net.mamoe.kjbb.GeneratedBlockingBridge`, 由编译器插件自动添加到生成的方法桥上.
- 提供编译后的阻塞式方法桥需要调用的一些库函数.

### 编译器插件

Expand Down Expand Up @@ -127,7 +128,7 @@ fun test(a1: Int, a2: Any): String = runBlocking { test(a1, a2) }
`build.gradle``build.gradle.kts`
```kotlin
plugins {
id("net.mamoe.kotlin-jvm-blocking-bridge") version "0.8.1"
id("net.mamoe.kotlin-jvm-blocking-bridge") version "1.0.0"
}
```

Expand All @@ -142,7 +143,7 @@ pluginManagement {

本插件会自动添加如下的运行时依赖:
```kotlin
implementation("net.mamoe:kotlin-jvm-blocking-bridge:0.8.1")
implementation("net.mamoe:kotlin-jvm-blocking-bridge:1.0.0")
```
因此只需要安装插件, 而不需要添加依赖即可使用

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ With the help of the IDE plugin, `suspend fun downloadImage` is not visible to J

- Provides `public annotation class net.mamoe.kjbb.JvmBlockingBridge`
- Provides `internal annotation class net.mamoe.kjbb.GeneratedBlockingBridge` that is added implicitly to generated bridges.
- Provides some internal functions used by generated bridges.

### Compiler plugin

Expand Down Expand Up @@ -130,7 +131,7 @@ The plugin is ready to use.
`build.gradle` or `build.gradle.kts`
```kotlin
plugins {
id("net.mamoe.kotlin-jvm-blocking-bridge") version "0.8.1"
id("net.mamoe.kotlin-jvm-blocking-bridge") version "1.0.0"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.plugin.*

internal const val JBB_VERSION = "0.8.1"
internal const val JBB_VERSION = "1.0.0"

internal const val PLUGIN_ID = "net.mamoe.kotlin-jvm-blocking-bridge-compiler-embeddable"

Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
kotlin.code.style=official
#org.gradle.parallel=true
#kotlin.parallel.tasks.in.project=true

systemProp.org.gradle.internal.publish.checksums.insecure=true

0 comments on commit 8746f48

Please sign in to comment.