30 lines
611 B
Groovy
30 lines
611 B
Groovy
plugins {
|
|
id 'java-gradle-plugin'
|
|
}
|
|
|
|
dependencies {
|
|
}
|
|
|
|
compileJava {
|
|
options.release = 8
|
|
options.compilerArgs << '-parameters'
|
|
}
|
|
|
|
["apiElements", "runtimeElements"].each { String name ->
|
|
def conf = project.configurations.getByName(name)
|
|
conf.attributes {
|
|
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
|
|
}
|
|
}
|
|
|
|
version = 0.2
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create("DependencyExportPlugin") {
|
|
id = "net.woggioni.gradle.dependency-export"
|
|
implementationClass = "net.woggioni.gradle.dependency.export.DependencyExportPlugin"
|
|
}
|
|
}
|
|
}
|