Skip to content

Commit

Permalink
Upgrade to Cloud 2021, Boot 2.6.1 and Gradle 7.3.1. Remove unnecessar…
Browse files Browse the repository at this point in the history
…y config.
  • Loading branch information
OlgaMaciaszek committed Dec 7, 2021
1 parent 4518c07 commit 559408b
Show file tree
Hide file tree
Showing 12 changed files with 248 additions and 220 deletions.
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

29 changes: 11 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@

buildscript {
repositories {
jcenter()
maven { url "https://repo.spring.io/libs-snapshot-local" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.3.RELEASE")
}
plugins{
id 'org.springframework.boot' version '2.6.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}

apply plugin: 'spring-boot'
apply plugin: 'idea'

ext {
set('springCloudVersion', "2021.0.0")
name = 'Eureka Server'
description = 'Eureka Server demo project'
version='0.0.1-SNAPSHOT'
Expand All @@ -29,17 +22,17 @@ repositories {

dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Brixton.BUILD-SNAPSHOT"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-eureka-server'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server'

testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile "junit:junit"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

task wrapper(type: Wrapper) {
gradleVersion = '2.3'
test{
useJUnitPlatform()
}

Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Sun Mar 22 23:42:25 MSK 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip
Loading

0 comments on commit 559408b

Please sign in to comment.