added renderDependencies task
This commit is contained in:
35
sample/kotlin/build.gradle.kts
Normal file
35
sample/kotlin/build.gradle.kts
Normal file
@@ -0,0 +1,35 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("net.woggioni.plugins:dependency-export:0.1")
|
||||
}
|
||||
}
|
||||
|
||||
import net.woggioni.plugins.ExportDependenciesPluginExtension
|
||||
import net.woggioni.plugins.RenderDependenciesPluginExtension
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.3.71"
|
||||
id("net.woggioni.plugins.dependency-export") version "0.1"
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
runtime("org.hibernate:hibernate-core:5.4.13.Final")
|
||||
}
|
||||
|
||||
configure<ExportDependenciesPluginExtension> {
|
||||
configurationName = "runtime"
|
||||
}
|
||||
|
||||
configure<RenderDependenciesPluginExtension> {
|
||||
format = "svg"
|
||||
}
|
Reference in New Issue
Block a user