Skip to content

Instantly share code, notes, and snippets.

@machkouroke
Created January 27, 2023 22:04
Show Gist options
  • Save machkouroke/6efbae8be7b291fd41c9ee5d43b3cf3b to your computer and use it in GitHub Desktop.
Save machkouroke/6efbae8be7b291fd41c9ee5d43b3cf3b to your computer and use it in GitHub Desktop.
Build config for web app in spring boot
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '19'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment