Update parent to latest version
[yosql.git] / yosql-tooling / yosql-tooling-gradle / build.gradle.kts
blob80fbe70452fab92faaee4b45d9d33df9c52a4110
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 plugins {
9     id("java-gradle-plugin")
10     id("maven-publish")
11     id("com.gradle.plugin-publish") version "1.0.0"
12     id("wtf.metio.yosql.models.gradle")
15 java {
16     toolchain {
17         languageVersion.set(JavaLanguageVersion.of(17))
18     }
21 gradlePlugin {
22     website.set("https://yosql.projects.metio.wtf/")
23     vcsUrl.set("https://github.com/metio/yosql.git")
24     plugins {
25         create("yoSql") {
26             id = "wtf.metio.yosql"
27             displayName = "YoSQL"
28             description = "Code generator that translates SQL to Java"
29             tags.set(listOf("java", "sql", "code-generator", "javapoet", "jdbc"))
30             implementationClass = "${group}.YoSqlPlugin"
31         }
32     }
35 dependencies {
36     implementation("wtf.metio.yosql.tooling:yosql-tooling-dagger:${version}")
37     implementation("wtf.metio.yosql.internals:yosql-internals-jdk-utils:${version}")
38     testImplementation(gradleTestKit())
41 tasks.named<Wrapper>("wrapper") {
42     distributionType = Wrapper.DistributionType.ALL