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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "net.mamoe.kotlin-jvm-blocking-bridge" version "1.7.4-dev-1"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects