GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
sample-java
/
sample-spring-graphql
Browse code
Fix main-class path
master
1 parent
908840c
commit
0dd1f4616653d74e8c760af4cd2c13b90cd3f5aa
yhornisse
authored
on 8 May 2020
Patch
Showing
1 changed file
build.gradle
Ignore Space
Show notes
View
build.gradle
buildscript { ext { springBootVersion = '2.1.0.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } plugins { id 'java' id 'org.springframework.boot' version '2.1.0.RELEASE' id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'com.github.johnrengelman.shadow' version '5.0.0' } group = 'com.sample' version = '0.0.1-SNAPSHOT' repositories { mavenCentral() } dependencies { compile 'org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE' compile 'org.springframework.boot:spring-boot-starter:2.1.0.RELEASE' compile 'com.graphql-java-kickstart:graphql-spring-boot-starter:5.1' compile 'com.graphql-java-kickstart:graphiql-spring-boot-starter:5.1' compileOnly 'org.projectlombok:lombok:1.18.12' annotationProcessor 'org.projectlombok:lombok:1.18.12' } jar { manifest { attributes 'Main-Class': 'com.sample.SampleApplication' } }
buildscript { ext { springBootVersion = '2.1.0.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } plugins { id 'java' id 'org.springframework.boot' version '2.1.0.RELEASE' id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'com.github.johnrengelman.shadow' version '5.0.0' } group = 'com.example' version = '0.0.1-SNAPSHOT' repositories { mavenCentral() } dependencies { compile 'org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE' compile 'org.springframework.boot:spring-boot-starter:2.1.0.RELEASE' compile 'com.graphql-java-kickstart:graphql-spring-boot-starter:5.1' compile 'com.graphql-java-kickstart:graphiql-spring-boot-starter:5.1' compileOnly 'org.projectlombok:lombok:1.18.12' annotationProcessor 'org.projectlombok:lombok:1.18.12' } jar { manifest { attributes 'Main-Class': 'com.example.Main' } }
Show line notes below