You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @TODO: Why can't we just use libs here? We can't even use a TOML parser since it is gradle internal, and we cannot load a library in a reasonably way here.
6
-
plugins {
7
-
val libsTomlFile =File("gradle/libs.versions.toml").readText()
5
+
buildscript {
6
+
val libsTomlFile =File(this.sourceFile?.parentFile, "gradle/libs.versions.toml").readText()
8
7
var plugins =false
9
8
var version =""
10
9
for (line in libsTomlFile.lines().map { it.trim() }) {
@@ -14,5 +13,11 @@ plugins {
14
13
}
15
14
if (version.isEmpty()) error("Can't find korge version in $libsTomlFile")
0 commit comments