Skip to content

Commit

Permalink
add gradle plugin to auto download JDKs needed fo build
Browse files Browse the repository at this point in the history
* 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 apache#79 (comment)

Feel free to exclude this commit if this should be in a separate PR
  • Loading branch information
chrisrueger committed Dec 23, 2023
1 parent 1f9800c commit a1b8ea6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ rootProject.name = "freemarker-gae"

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") {
Expand Down

0 comments on commit a1b8ea6

Please sign in to comment.