1.1.50.51. fejezet, Gradle modulok

Gradle konfigurálása

settings.gradle.kts

plugins {
    id("org.gradle.toolchains.foojay-resolver-convention") version "0.5.0"
}
rootProject.name = "homework4kotlinmodules"
include(":MyTestLib")

build.gradle.kts

plugins {
    kotlin("jvm") version "1.9.23"
}
 
group = "hu.infokristaly"
version = "1.0-SNAPSHOT"
 
repositories {
    mavenCentral()
}
 
dependencies {
    implementation(project(":MyTestLib"))
    testImplementation(kotlin("test"))
}
 
tasks.test {
    useJUnitPlatform()
}
kotlin {
    jvmToolchain(17)
}