Skip to content

Commit dcaa53c

Browse files
committed
Global val instead of absolute path
1 parent a8faff8 commit dcaa53c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ val mavenGroup = property("maven_group").toString()
77
val minecraftVersion = property("minecraft_version").toString()
88
val yarnMappings = property("yarn_mappings").toString()
99

10+
val libs = file("libs")
11+
1012
plugins {
1113
kotlin("jvm") version ("1.9.22")
1214
id("org.jetbrains.dokka") version "1.9.20"
@@ -72,7 +74,7 @@ allprojects {
7274
maven("https://maven.terraformersmc.com/releases/")
7375

7476
flatDir {
75-
dirs(rootProject.file("libs"))
77+
dirs(libs)
7678
}
7779
}
7880

0 commit comments

Comments
 (0)