Skip to content

Commit dc0f2e1

Browse files
EugeneTheDevkarloti
authored andcommitted
[examples] Migrate examples to composite builds (JetBrains#810)
I've updated this PR to actually migrate `examples` to a separate `simple-examples` Gradle project in `examples` directory, that depends on the root Koog project via composite build. `examples` is not a module in Koog anymore, just a directory with example projects. After some experiments, I decided not to migrate other example projects, such as Demo Compose App, to composite build approach, at least for now. I believe it's more beneficial to keep these logically uncoupled from the main project, with exact pinned version. Makes it easier to work on, and also doesn't make CI run Demo App checks on every PR. Also, updated READMEs to reflect these changes.
1 parent 5f82a18 commit dc0f2e1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

settings.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,10 @@ include(":docs")
9090

9191
include(":test-utils")
9292
include(":utils")
93+
94+
/*
95+
Some separate Gradle projects with examples.
96+
Included for convenience to be able to run them from the root project.
97+
Main Koog project (this one) build does not depend on them in any way.
98+
*/
99+
includeBuild("./examples/simple-examples")

0 commit comments

Comments
 (0)