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 "0.4.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects