Skip to content

Commit

Permalink
Merge branch 'gradleUpdate'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyDer committed Sep 19, 2020
2 parents dede902 + 4d8456d commit dfa65b0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,21 @@ HardDisk наследует все параметры сущности Product {
<div id='id-section3'/>

#### Запуск
Склонируйте репозиторий и произведите сборку проекта:

`gradle build`
Склонируйте репозиторий и инициализируйте wrapper:

Затем запустите приложение:
`gradle wrapper`

`gradle bootRun`
Затем запустите сборку приложение:

`./gradlew build`

Запустите приложение;

`./gradlew bootRun`

Создание **Jar** файла

`gradle bootJar`
`./gradlew bootJar`


8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apply plugin: 'io.spring.dependency-management'

bootJar {
baseName = 'shift_Lab'
version = '0.1'
version = '1.0'
}

repositories {
Expand All @@ -29,3 +29,9 @@ dependencies {
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("com.h2database:h2")
}

wrapper {
gradleVersion = "6.1"
distributionType = Wrapper.DistributionType.ALL
}

0 comments on commit dfa65b0

Please sign in to comment.