2025-01-13 11:44:19 +00:00
|
|
|
plugins {
|
|
|
|
// Apply the shared build logic from a convention plugin.
|
|
|
|
// The shared code is located in `buildSrc/src/main/kotlin/kotlin-jvm.gradle.kts`.
|
|
|
|
id("buildsrc.convention.kotlin-jvm")
|
|
|
|
|
|
|
|
// Apply the Application plugin to add support for building an executable JVM application.
|
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Project "app" depends on project "utils". (Project paths are separated with ":", so ":utils" refers to the top-level "utils" project.)
|
|
|
|
implementation(project(":utils"))
|
2025-01-14 12:42:47 +00:00
|
|
|
// https://mvnrepository.com/artifact/io.github.serpro69/kotlin-faker
|
|
|
|
implementation("io.github.serpro69:kotlin-faker:2.0.0-rc.7")
|
2025-01-13 11:44:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
// Define the Fully Qualified Name for the application main class
|
|
|
|
// (Note that Kotlin compiles `App.kt` to a class with FQN `com.example.app.AppKt`.)
|
|
|
|
mainClass = "org.example.app.AppKt"
|
|
|
|
}
|