commit | a1b8ea6eda8ec3a92ba614c0087b49a38cfe78bb | [log] [tgz] |
---|---|---|
author | Christoph Rueger <chrisrueger@gmail.com> | Sat Dec 23 19:37:43 2023 +0100 |
committer | Christoph <chrisrueger@gmail.com> | Sat Dec 23 19:51:41 2023 +0100 |
tree | 1bf43b4cf2cca34dd6d2e818b0637daf246760b4 | |
parent | 1f9800ca8784a17c5c81eccbc32160a5cf1d1f0d [diff] |
add gradle plugin to auto download JDKs needed fo build * this makes it easier to build e.g. when no JDK16 is installed. It installs it automatically (see https://docs.gradle.org/current/userguide/toolchains.html#sub:download_repositories). see also the discussion here https://github.com/apache/freemarker/pull/79#issuecomment-1868098656 Feel free to exclude this commit if this should be in a separate PR
diff --git a/settings.gradle.kts b/settings.gradle.kts index eb1de9c..e74adfb 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts
@@ -21,6 +21,10 @@ apply(from = rootDir.toPath().resolve("gradle").resolve("repositories.gradle.kts")) +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0" +} + dependencyResolutionManagement { versionCatalogs { create("libs") {