GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
sample-java
/
SampleSpring
Browse code
fix versions for java 17
master
1 parent
b329ae0
commit
8cc15241ee4e501156c1619e13543df82aa4d915
yhornisse
authored
on 28 May 2023
Patch
Showing
1 changed file
build.gradle
Ignore Space
Show notes
View
build.gradle
buildscript { repositories { mavenCentral() } } plugins { id 'java' id 'org.springframework.boot' version '3.1.0' id 'io.spring.dependency-management' version '1.0.8.RELEASE' } group = 'com.sample' version = '0.0.1-SNAPSHOT' java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-web:3.1.0' compileOnly 'org.projectlombok:lombok:1.18.28' annotationProcessor 'org.projectlombok:lombok:1.18.28' } jar { manifest { attributes 'Main-Class': 'com.sample.SampleApplication' } }
buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.0.RELEASE") } } plugins { id 'java' id 'org.springframework.boot' version '2.1.0.RELEASE' id 'io.spring.dependency-management' version '1.0.8.RELEASE' } group = 'com.sample' version = '0.0.1-SNAPSHOT' repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE' implementation 'org.springframework.boot:spring-boot-starter:2.1.0.RELEASE' compileOnly 'org.projectlombok:lombok:1.18.12' annotationProcessor 'org.projectlombok:lombok:1.18.12' } jar { manifest { attributes 'Main-Class': 'com.sample.SampleApplication' } }
Show line notes below