From d532aa0e060e0e554509f744ae415becd4545d40 Mon Sep 17 00:00:00 2001 From: "adam.houston" Date: Mon, 14 Mar 2022 11:57:14 +0000 Subject: [PATCH] Remove Conclave Dependency --- build.gradle | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/build.gradle b/build.gradle index cb217b023c..d2ddf5eb24 100644 --- a/build.gradle +++ b/build.gradle @@ -191,20 +191,20 @@ buildscript { mavenCentral() jcenter() } - - maven { - // TODO: fix conclaveRepo property - // (none of the conclave properties seem to be sourced from gradle.properties, they appear to be coming from somewhere else) - def path = Paths.get(rootDir.absolutePath).resolve("./repo").toAbsolutePath().normalize() - if (!Files.isDirectory(path.resolve("com"))) { - if (Files.isDirectory(Paths.get("/repo/com"))) { - path = Paths.get("/repo") - } else { - throw new Exception("Neither $path nor /repo seem to exist, or they aren't Maven repositories; it should be the SDK 'repo' subdirectory.") - } - } - url = path.toFile() - } +// +// maven { +// // TODO: fix conclaveRepo property +// // (none of the conclave properties seem to be sourced from gradle.properties, they appear to be coming from somewhere else) +// def path = Paths.get(rootDir.absolutePath).resolve("./repo").toAbsolutePath().normalize() +// if (!Files.isDirectory(path.resolve("com"))) { +// if (Files.isDirectory(Paths.get("/repo/com"))) { +// path = Paths.get("/repo") +// } else { +// throw new Exception("Neither $path nor /repo seem to exist, or they aren't Maven repositories; it should be the SDK 'repo' subdirectory.") +// } +// } +// url = path.toFile() +// } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" @@ -440,20 +440,6 @@ allprojects { } mavenCentral() jcenter() - - maven { - // TODO: fix conclaveRepo property - // (none of the conclave properties seem to be sourced from gradle.properties, they appear to be coming from somewhere else) - def path = Paths.get(rootDir.absolutePath).resolve("./repo").toAbsolutePath().normalize() - if (!Files.isDirectory(path.resolve("com"))) { - if (Files.isDirectory(Paths.get("/repo/com"))) { - path = Paths.get("/repo") - } else { - throw new Exception("Neither $path nor /repo seem to exist, or they aren't Maven repositories; it should be the SDK 'repo' subdirectory.") - } - } - url = path.toFile() - } } }