Skip to content
Snippets Groups Projects
Select Git revision
  • 7aafc8d38c0ed51a37740ed376b92cad4c97f654
  • main default protected
  • chatrooms_with_persistent_messages
  • chatrooms_video
  • echo_handler_and_simple_chat_demo_video
  • demo_chatrooms
  • demo
7 results

build.gradle

Blame
  • build.gradle 1.39 KiB
    plugins {
        id 'org.jetbrains.kotlin.jvm' version '1.9.25'
        id 'org.jetbrains.kotlin.plugin.spring' version '1.9.25'
        id 'org.springframework.boot' version '3.4.4'
        id 'io.spring.dependency-management' version '1.1.7'
    }
    
    group = 'de.thk.gm'
    version = '0.0.1-SNAPSHOT'
    
    java {
        toolchain {
            languageVersion = JavaLanguageVersion.of(17)
        }
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        implementation 'org.springframework.boot:spring-boot-starter-freemarker'
        implementation 'org.springframework.boot:spring-boot-starter-web'
        implementation 'org.springframework.boot:spring-boot-starter-websocket'
        implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
        implementation 'org.jetbrains.kotlin:kotlin-reflect'
        implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
        implementation 'org.springframework.boot:spring-boot-starter-validation'
        testImplementation 'org.springframework.boot:spring-boot-starter-test'
        testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
        developmentOnly 'org.springframework.boot:spring-boot-devtools'
        runtimeOnly 'com.h2database:h2'
        testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
        implementation 'org.json:org.json:chargebee-1.0'
    }
    
    kotlin {
        compilerOptions {
            freeCompilerArgs.addAll '-Xjsr305=strict'
        }
    }
    
    tasks.named('test') {
        useJUnitPlatform()
    }