Update gradle-wrapper to latest version
[yosql.git] / yosql-examples / yosql-examples-gradle / settings.gradle.kts
blob680f6c94c2fe764364e7edddf942712bcda51ce1
1 /*
2  * This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
3  * directory of this distribution and at https://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
4  * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5  * in the LICENSE file.
6  */
8 rootProject.name = "yosql-examples-gradle"
10 dependencyResolutionManagement {
11     repositories {
12         mavenCentral()
13         mavenLocal()
14         maven {
15             url = uri(System.getProperty("user.home") + "/.cache/maven/repository")
16         }
17     }
20 pluginManagement {
21     val version: String by settings
22     plugins {
23         id("wtf.metio.yosql") version version
24     }
25     resolutionStrategy {
26         eachPlugin {
27             if (requested.id.namespace == "wtf.metio.yosql") {
28                 useModule(":yosql-tooling-gradle")
29             }
30         }
31     }
32     repositories {
33         mavenCentral()
34         mavenLocal()
35         maven {
36             url = uri(System.getProperty("user.home") + "/.cache/maven/repository")
37         }
38         gradlePluginPortal()
39     }
42 plugins {
43     id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
46 includeBuild("../../yosql-tooling/yosql-tooling-gradle")
47 include(":yosql-examples-gradle-jdbc-java8")
48 include(":yosql-examples-gradle-jdbc-java11")
49 include(":yosql-examples-gradle-jdbc-java15")
50 include(":yosql-examples-gradle-jdbc-java16")