What is the best source of how to see how the buil...
# compose-desktop
e
What is the best source of how to see how the build files should be written? IntelliJ's wizard seems to create a project of an older flavor.
2
b
Oss projects mainly
That's how I've learned
s
I still prefer the
buildscript
tag for some reason.
e
@Big Chungus Do you have any OSS projects that you think is a good reference?
b
You can have a look at mine to get started github.com/mpetuska That should cover most of kmp use cases
Other than that, just open up build scripts of any kotlin lib you use and have a peek
g
“should be written” is quite a broad definition There are official Gradle recommendation in their docs related to different parts of build script
prefer the
buildscript
tag for some reason
One of things which is against Gradle recommendations
I would also recommend to check https://github.com/jjohannes/idiomatic-gradle It’s an example from ex-Gradle developer, which incorporates a lot of modern Gradle approaches, it can be too complex for simple project, but shows how it can be done for complex cases with multiple plugins