Skip to content

Commit

Permalink
✅ let kotlin-spring-app convention apply app mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
CXwudi committed Nov 4, 2023
1 parent 9a9517b commit 890dc7e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions gradle/plugins/convention/kotlin-spring-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ plugins {

dependencies {
implementation(project(":mixin:kotlin-jvm"))
// let makes all spring apps using app mixin to enjoy the better Jar packaging
implementation(project(":mixin:app"))
implementation(project(":mixin:spring-boot-kotlin"))
implementation(project(":mixin:spring-boot-app"))
// we could merge the spring-boot-app and app mixins into here
// but unsure if in the future we'll need to separate them again
// (e.g., cloud native app without Spring Boot)
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("my.mixin.kotlin-jvm")
id("my.mixin.spring-boot-kotlin")
id("my.mixin.app")
id("my.mixin.spring-boot-app")
}
4 changes: 2 additions & 2 deletions yc-app-cli/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
id("my.kotlin-spring-app")
id("my.mixin.app") // to generate a run script version of this app
alias(libs.plugins.graalvm.native.image)
}

version = "1.0.0"

dependencies {
implementation(project(":yc-core-ical"))
implementation(project(":yc-apiclient-youtrack"))
Expand Down

0 comments on commit 890dc7e

Please sign in to comment.