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
9 id("java-gradle-plugin")
11 id("com.gradle.plugin-publish") version "0.12.0"
12 id("wtf.metio.yosql.models.gradle")
17 languageVersion.set(JavaLanguageVersion.of(17))
22 val yoSql by plugins.creating {
23 id = "wtf.metio.yosql"
25 description = "Code generator that translates SQL to Java"
26 implementationClass = "${group}.YoSqlPlugin"
31 website = "https://yosql.projects.metio.wtf/"
32 vcsUrl = "https://github.com/metio/yosql/"
33 tags = listOf("java", "sql", "code-generator", "javapoet", "jdbc", "r2dbc")
37 implementation("wtf.metio.yosql.tooling:yosql-tooling-dagger:${version}")
38 implementation("wtf.metio.yosql.internals:yosql-internals-jdk-utils:${version}")
39 testImplementation(gradleTestKit())
42 tasks.named<Wrapper>("wrapper") {
43 distributionType = Wrapper.DistributionType.ALL