Skip to content

Commit

Permalink
🔧 update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ksetoue committed Feb 6, 2023
1 parent 2f3b571 commit 2e52bfe
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 5 deletions.
34 changes: 29 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("org.springframework.boot") version "2.7.6-SNAPSHOT"
// Support convention plugins written in Kotlin. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
id("org.jetbrains.kotlin.jvm") version "1.8.10"
id("org.springframework.boot") version "3.0.2"
id("io.spring.dependency-management") version "1.0.15.RELEASE"
kotlin("jvm") version "1.6.21"
kotlin("plugin.spring") version "1.6.21"
kotlin("plugin.spring") version "1.8.0"

id("org.jlleitschuh.gradle.ktlint") version "10.3.0"
id("org.jlleitschuh.gradle.ktlint") version "11.0.0"
}

group = "com.ksetoue"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17

repositories {
mavenCentral()
gradlePluginPortal()
maven { url = uri("https://repo.spring.io/milestone") }
maven { url = uri("https://repo.spring.io/snapshot") }
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}

extra["springCloudVersion"] = "2021.0.5"
Expand Down Expand Up @@ -49,3 +54,22 @@ tasks.withType<KotlinCompile> {
tasks.withType<Test> {
useJUnitPlatform()
}

/*
* This configuration sets the jar name to "app"
* */
kotlin {
jvmToolchain {
archivesName.set("app")
}
}
/*
* Set specific lint rules here
* */
ktlint {
disabledRules.set(
setOf(
"no-wildcard-imports"
)
)
}
14 changes: 14 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Project Properties
group=br.com.tokstok.tokio
version=PROD
# Gradle Settings
org.gradle.caching=true
org.gradle.unsafe.configuration-cache=true
org.gradle.jvmargs=-Xmx2048M -XX:MaxMetaspaceSize=1g
org.gradle.parallel=true
org.gradle.configureondemand=true
# Kotlin Settings
kotlin.code.style=official
kotlin.incremental=true
kapt.use.worker.api=true
kapt.incremental.apt=true

0 comments on commit 2e52bfe

Please sign in to comment.