Search Gradle plugins

net.mamoe.kotlin-jvm-blocking-bridge

Owner: Him188

Kotlin compiler plugin that can generate a blocking bridge for calling suspend functions from Java with minimal effort

https://github.com/mamoe/kotlin-jvm-blocking-bridge

Version 1.1.0 (latest)

Created 17 September 2020.

Kotlin compiler plugin for generating blocking bridges for calling suspend functions from Java with minimal effort

Using the plugins DSL:

plugins {
  id "net.mamoe.kotlin-jvm-blocking-bridge" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.mamoe:kotlin-jvm-blocking-bridge-gradle:1.1.0"
  }
}

apply plugin: "net.mamoe.kotlin-jvm-blocking-bridge"

Using the plugins DSL:

plugins {
  id("net.mamoe.kotlin-jvm-blocking-bridge") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.mamoe:kotlin-jvm-blocking-bridge-gradle:1.1.0")
  }
}

apply(plugin = "net.mamoe.kotlin-jvm-blocking-bridge")

Learn how to apply plugins to subprojects