spring-graphql-demo/build.gradle.kts
dependabot[bot] 1c33e5546c
Bump jvm from 1.5.21 to 1.6.21
Bumps jvm from 1.5.21 to 1.6.21.

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 02:06:43 +00:00

45 lines
1.2 KiB
Plaintext

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.7.0" apply false
id("io.spring.dependency-management") version "1.0.11.RELEASE" apply false
kotlin("jvm") version "1.6.21" apply false
kotlin("plugin.spring") version "1.6.21" apply false
kotlin("plugin.jpa") version "1.5.21" apply false
id("com.netflix.dgs.codegen") version "5.1.17" apply false
}
allprojects {
repositories {
maven { url = uri("https://m.ctdn.net") }
}
group = "com.cubetiqs"
version = "0.0.1-SNAPSHOT"
val javaVersion = "11"
tasks.withType<JavaCompile> {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = javaVersion
}
}
}
subprojects {
apply {
plugin("io.spring.dependency-management")
}
the<io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension>().apply {
imports {
mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
}
}
}