搜索 Gradle 插件

pt.rasm.gradle.ship

所有者: Ricardo Martins

用于通过安装程序和捆绑的 Java 运行时环境分发应用的插件

http://github.com/rasmartins/gradle-ship

源代码: https://github.com/rasmartins/gradle-ship

使用 plugins DSL

plugins {
  id("pt.rasm.gradle.ship") version "2016.12.31"
}

使用 旧插件应用

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org.cn/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.pt.rasm.gradle.ship:Ship:2016.12.31")
  }
}

apply(plugin = "pt.rasm.gradle.ship")

使用 plugins DSL

plugins {
  id "pt.rasm.gradle.ship" version "2016.12.31"
}

使用 旧插件应用

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org.cn/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.pt.rasm.gradle.ship:Ship:2016.12.31"
  }
}

apply plugin: "pt.rasm.gradle.ship"

了解如何将插件应用于子项目