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
15 languageVersion.set(JavaLanguageVersion.of(11)) // hikari needs at least Java 11
22 inputBaseDirectory.set(project.file("../../yosql-examples-common/src/main/yosql"))
25 basePackageName.set("${group}.persistence")
29 useTextBlocks.set(false)
33 mapConverterClass.set("${group}.converter.ToMapConverter")
35 register("itemConverter") {
36 converterType.set("${group}.converter.ToItemConverter")
37 methodName.set("asUserType")
38 resultType.set("${group}.model.Item")
45 implementation(libs.bundles.database) {
46 because("we need database access")
48 implementation("wtf.metio.yosql.examples:yosql-examples-common:${version}") {
49 because("we want to re-use the same example app across all example projects")