Update kotlin libs
This commit is contained in:
@@ -10,6 +10,6 @@ dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
|
||||
implementation("org.jetbrains.kotlin:kotlin-serialization:1.8.21")
|
||||
implementation("com.github.johnrengelman:shadow:8.1.1")
|
||||
implementation("org.jlleitschuh.gradle:ktlint-gradle:11.3.2")
|
||||
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.13.0")
|
||||
implementation("com.github.ben-manes:gradle-versions-plugin:0.46.0")
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ package be.simplenotes
|
||||
object Libs {
|
||||
|
||||
object Micronaut {
|
||||
private const val version = "2.5.1"
|
||||
private const val version = "4.0.0-M2"
|
||||
const val inject = "io.micronaut:micronaut-inject:$version"
|
||||
const val processor = "io.micronaut:micronaut-inject-java:$version"
|
||||
}
|
||||
|
||||
@@ -11,6 +11,10 @@ tasks.withType<ShadowJar> {
|
||||
archiveAppendix.set("with-dependencies")
|
||||
manifest.attributes["Main-Class"] = "be.simplenotes.app.SimpleNotesKt"
|
||||
|
||||
// johnrengelman/shadow#449
|
||||
// we need this for lucene-core
|
||||
manifest.attributes["Multi-Release"] = "true"
|
||||
|
||||
mergeServiceFiles()
|
||||
|
||||
File(rootProject.projectDir, "buildSrc/src/main/resources/exclusions")
|
||||
|
||||
@@ -4,5 +4,11 @@ plugins {
|
||||
id("be.simplenotes.java-convention")
|
||||
id("be.simplenotes.kotlin-convention")
|
||||
id("be.simplenotes.junit-convention")
|
||||
id("org.jlleitschuh.gradle.ktlint")
|
||||
id("com.diffplug.spotless")
|
||||
}
|
||||
|
||||
spotless {
|
||||
kotlin {
|
||||
ktlint("0.48.0").setEditorConfigPath(project.rootProject.file(".editorconfig"))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,7 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
|
||||
resolutionStrategy {
|
||||
componentSelection {
|
||||
all {
|
||||
if ("RC" in candidate.version) reject("Release candidate")
|
||||
|
||||
when {
|
||||
candidate.group == "org.eclipse.jetty" && candidate.version.startsWith("11.") -> reject("javax -> jakarta")
|
||||
}
|
||||
if ("alpha|beta|rc".toRegex().containsMatchIn(candidate.version.lowercase())) reject("Non stable version")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
META-INF/maven/**
|
||||
META-INF/proguard/**
|
||||
META-INF/com.android.tools/**
|
||||
META-INF/*.kotlin_module
|
||||
META-INF/DEPENDENCIES*
|
||||
META-INF/NOTICE*
|
||||
@@ -7,6 +8,7 @@ META-INF/LICENSE*
|
||||
LICENSE*
|
||||
META-INF/README*
|
||||
META-INF/native-image/**
|
||||
**/module-info.**
|
||||
|
||||
# Jetty
|
||||
about.html
|
||||
|
||||
Reference in New Issue
Block a user