[gradle] Introduce gradle conventions using buildSrc
This commit is contained in:
7
buildSrc/build.gradle.kts
Normal file
7
buildSrc/build.gradle.kts
Normal file
@@ -0,0 +1,7 @@
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
}
|
||||
1
buildSrc/settings.gradle.kts
Normal file
1
buildSrc/settings.gradle.kts
Normal file
@@ -0,0 +1 @@
|
||||
rootProject.name = "tweed5-conventions"
|
||||
@@ -0,0 +1,6 @@
|
||||
plugins {
|
||||
id("java")
|
||||
}
|
||||
|
||||
val localRuntimeOnly = configurations.create("localRuntimeOnly")
|
||||
sourceSets.main.get().runtimeClasspath += localRuntimeOnly
|
||||
Reference in New Issue
Block a user