File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
gradle/build-logic/common-plugins Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 9393 contentType = gg.jte.ContentType .Plain
9494 sourceDirectory = sourceSets.main.map { it.resources.srcDirs.first().toPath() }
9595 generate()
96- // jteExtension("gg.jte.models.generator.ModelExtension")
96+ jteExtension(" gg.jte.models.generator.ModelExtension" ) {
97+ property(" language" , " Kotlin" )
98+ // property("interfaceAnnotation", "@foo.bar.MyAnnotation")
99+ // property("implementationAnnotation", "@foo.bar.MyAnnotation")
100+ }
97101 // jteExtension("gg.jte.nativeimage.NativeResourcesExtension")
98102 // binaryStaticContent = true
99103}
@@ -120,8 +124,8 @@ dependencies {
120124 implementation(libs.build.zip.prefixer)
121125 // Templating
122126 implementation(libs.jte.runtime)
127+ jteGenerate(libs.jte.models)
123128 // compileOnly(libs.jte.kotlin)
124- // jteGenerate(libs.jte.models)
125129
126130 // External plugins deps to use in precompiled script plugins
127131 // https://docs.gradle.org/current/userguide/custom_plugins.html#applying_external_plugins_in_precompiled_script_plugins
You can’t perform that action at this time.
0 commit comments