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
16 languageVersion.set(JavaLanguageVersion.of(16))
21 mainClass.set("${group}.ExampleApp")
27 inputBaseDirectory.set(project.file("../../yosql-examples-common/src/main/yosql"))
30 basePackageName.set("${group}.persistence")
36 mapConverterClass.set("${group}.converter.ToMapConverter")
38 register("itemConverter") {
39 converterType.set("${group}.converter.ToItemConverter")
40 methodName.set("asUserType")
41 resultType.set("${group}.model.Item")
48 implementation(libs.bundles.database) {
49 because("we need database access")
51 implementation("wtf.metio.yosql.examples:yosql-examples-common:${version}") {
52 because("we want to re-use the same example app across all example projects")