File tree Expand file tree Collapse file tree
jooby-cli/src/main/resources/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ buildscript {
88plugins {
99 id "application"
1010{{ #if kotlin }}
11- id "org.jetbrains.kotlin.jvm" version "{{ kotlinVersion } } "
11+ id "org.jetbrains.kotlin.jvm" version "${ kotlinVersion}"
1212{{ /if }}
1313{{ #if kapt }}
14- id "org.jetbrains.kotlin.kapt" version "{{ kotlinVersion } } "
14+ id "org.jetbrains.kotlin.kapt" version "${ kotlinVersion}"
1515{{ /if }}
1616{{ #if openapi }}
1717 id "io.jooby.openAPI" version "${joobyVersion}"
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =wrapper/dists
5- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0.2 -bin.zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.6 -bin.zip
Original file line number Diff line number Diff line change 161161 </execution >
162162 </executions >
163163 {{ /if }}
164+ {{ #if kotlin }}
165+ <dependencies >
166+ <dependency >
167+ <groupId >org.jetbrains.kotlin</groupId >
168+ <artifactId >kotlin-reflect</artifactId >
169+ <version >${kotlin.version}</version >
170+ </dependency >
171+ </dependencies >
172+ {{ /if }}
164173 </plugin >
165174 {{ #if stork }}
166175 <plugin >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ repositories {
1414 mavenCentral()
1515}
1616
17- def pom = new XmlSlurper (). parse(projectDir. toPath(). getParent(). resolve(" pom.xml" ). toFile())
17+ def pom = new groovy.xml. XmlSlurper (). parse(projectDir. toPath(). getParent(). resolve(" pom.xml" ). toFile())
1818// noinspection GroovyAccessibility
1919def joobyVersion = project. properties[' joobyVersion' ] ?: pom. parent. version
2020
@@ -39,6 +39,10 @@ gradlePlugin {
3939 openAPI {
4040 id = ' io.jooby.openAPI'
4141 implementationClass = ' io.jooby.gradle.JoobyPlugin'
42+
43+ dependencies {
44+
45+ }
4246 }
4347 }
4448}
You can’t perform that action at this time.
0 commit comments