Building Spring Boot Application Using Maven or Gradle

BIS
1 min readDec 28, 2019

In order to build a spring boot application please visit http://start.spring.io

Select all the spring boot starter packages, finally, generate the code. A zipped file will be created for Maven or Gradle project.

Running Using Maven:
$ mvnw spring-boot:run

Running using Gradle:
gradle clean build
Finally, run using java -jar build/libs/hkj-project-1.jar

plugins {
id ‘org.springframework.boot’ version ‘2.2.3.BUILD-SNAPSHOT’
id ‘io.spring.dependency-management’ version ‘1.0.8.RELEASE’
id ‘java’
}

group = ‘com.bis’
archivesBaseName = ‘hkj-project-1’
version = ‘’
sourceCompatibility = ‘11’

repositories {
mavenCentral()
maven { url ‘https://repo.spring.io/milestone' }
maven { url ‘https://repo.spring.io/snapshot' }
}

dependencies {
implementation ‘org.springframework.boot:spring-boot-starter’
testImplementation(‘org.springframework.boot:spring-boot-starter-test’) {
exclude group: ‘org.junit.vintage’, module: ‘junit-vintage-engine’
}
compile group: ‘org.springframework.boot’, name: ‘spring-boot-starter-web’, version: ‘2.2.2.RELEASE’

}

test {
useJUnitPlatform()
}

Online Test Software

Exam Software

Examination Software

Question Bank Software

Online Assesment Software

Online Exam Software

Online Test System

Online Assessment System

Assessment Management Software

Multiple Choice Question Software

Examination Management Software

Exam Management Software

Examination Management System

Online Exam Management System

Online Examination System

Online Exam System

MCQ Software

Online Assessment Software

Exam System

Examination System

RHEED Software

MLM Software

Service Management Software

Online Timesheet Software

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

BIS
BIS

Written by BIS

Specialist in Cloud Native development

No responses yet

Write a response