apply plugin: 'java-library' apply plugin: 'kotlin' dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) api rootProject.ext.deps["kotlin-stdlib"] } buildscript { repositories { mavenCentral() } dependencies { classpath rootProject.ext.deps["kotlin-gradle-plugin"] } } repositories { mavenCentral() } compileKotlin { kotlinOptions { jvmTarget = "17" } } compileTestKotlin { kotlinOptions { jvmTarget = "17" } } dependencies { testImplementation rootProject.ext.deps["junit"] } java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 }