GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
sample-kotlin
/
sample-spring-graphql1
Browse code
Add a file
master
1 parent
028903b
commit
0c34fe15fc04b1252d766286d33d393cdb594065
yhornisse
authored
on 12 May 2020
Patch
Showing
1 changed file
build.gradle.kts
Ignore Space
Show notes
View
build.gradle.kts
0 → 100644
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar group = "org.example" version = "1.0-SNAPSHOT" plugins { application kotlin("jvm") version "1.3.61" kotlin("plugin.spring") version "1.3.50" id("org.springframework.boot") version "2.1.3.RELEASE" id("io.spring.dependency-management") version "1.0.9.RELEASE" id("com.github.johnrengelman.shadow") version "5.1.0" } application { mainClassName = "com.sample.SampleApplicationKt" } repositories { mavenCentral() jcenter() } dependencies { implementation("org.springframework.boot:spring-boot-starter:2.1.0.RELEASE") implementation("org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") implementation("com.graphql-java-kickstart:graphql-spring-boot-starter:5.1") implementation("com.graphql-java-kickstart:graphiql-spring-boot-starter:5.1") } tasks { withType<ShadowJar> { manifest { attributes( mapOf( "Main-Class" to application.mainClassName ) ) } } }
Show line notes below