Skip to content
Snippets Groups Projects
Select Git revision
  • cc72015b1d0f1d0d8bd20fbd1b69949e58b199e6
  • master default protected
  • release
  • v2.2.0
  • v2.1.1
  • v2.1.0
  • v2.0.5
  • v2.0.2
  • v2.0.1
  • v2.0.0
  • v1.3.4
  • v1.5.0
  • v1.4.0
  • v1.3.3
  • v1.3.2
  • v1.3.1
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • 0.0.1
  • 0.0.2
22 results

build.gradle.kts

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    build.gradle.kts 1.98 KiB
    
    /*
     * This file was generated by the Gradle 'init' task.
     *
     * This generated file contains a sample Kotlin application project to get you started.
     */
    
    plugins {
        // Apply the Kotlin JVM plugin to add support for Kotlin.
        kotlin("jvm") version "1.8.0"
        idea
        // Apply the application plugin to add support for building a CLI application.
        application
        id("com.github.johnrengelman.shadow") version "7.0.0"
    
     //   id("com.palantir.git-version") version "0.12.2"
    }
    
    repositories {
        mavenCentral()
        maven("https://oss.sonatype.org/content/repositories/snapshots")
    
    }
    
    
    
    dependencies {
        // Align versions of all Kotlin components
        implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
    
        // Use the Kotlin JDK 8 standard library.
        implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
    
    
        implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1")
    
    
        // eclipse lsp implementation
        implementation("org.eclipse.lsp4j", "org.eclipse.lsp4j", "0.20.1")
    
        // json converter
        implementation("com.google.code.gson" ,"gson" ,"2.10.1")
    
    
        // https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-test-junit5
        testImplementation(kotlin("test-junit5"))
    
        // https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
        testImplementation("org.junit.jupiter","junit-jupiter-engine" ,  "5.10.0-M1")
    
        implementation("de.hhu.stups:de.prob2.kernel:4.12.1")
    
        implementation( "com.google.guava", "guava", "31.1-jre")
    
    
        // https://mvnrepository.com/artifact/org.zeromq/jeromq
        implementation ("org.zeromq",   "jeromq", "0.5.3")
    
    
    }
    
    java {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    tasks.test {
        useJUnitPlatform()
    }
    
    val gitVersion: groovy.lang.Closure<*> by extra
    
    tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>(){
        kotlinOptions.jvmTarget = "1.8"
    }
    
    application {
        mainClass.set("b.language.server.AppKt") // The main class of the application
    }