mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-26 13:36:44 +00:00
30 lines
824 B
Groovy
30 lines
824 B
Groovy
plugins {
|
|
id 'java-gradle-plugin' // so we can assign and ID to our plugin
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.ow2.asm:asm:8.0.1'
|
|
implementation 'com.google.gradle:osdetector-gradle-plugin:1.7.0'
|
|
implementation 'org.javamodularity:moduleplugin:1.8.12'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://plugins.gradle.org/m2/"
|
|
}
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
// here we register our plugin with an ID
|
|
register("extra-java-module-info") {
|
|
id = "extra-java-module-info"
|
|
implementationClass = "org.gradle.sample.transform.javamodules.ExtraModuleInfoPlugin"
|
|
}
|
|
register("org-openjfx-javafxplugin") {
|
|
id = "org-openjfx-javafxplugin"
|
|
implementationClass = "org.openjfx.gradle.JavaFXPlugin"
|
|
}
|
|
}
|
|
}
|