Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/joinfaces/joinfaces into …
Browse files Browse the repository at this point in the history
…update/gradle/6.1.1
  • Loading branch information
larsgrefer committed Feb 14, 2020
2 parents 0a67f60 + 433355a commit 9e42ba8
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ allprojects {

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

apply plugin: "io.spring.dependency-management"
Expand Down
5 changes: 4 additions & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ apply plugin: "java"

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

def springBootVersion = "2.2.4.RELEASE"
def springBootVersion = "2.3.0.M2"

dependencies {
compile "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
implementation "org.springframework.boot:spring-boot-configuration-metadata:$springBootVersion"

compile 'org.apache.maven:maven-model:3.6.3'
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
import java.io.PrintWriter;
import java.util.Comparator;

import io.spring.gradle.dependencymanagement.org.apache.maven.model.Dependency;
import io.spring.gradle.dependencymanagement.org.apache.maven.model.Model;
import io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import io.spring.gradle.dependencymanagement.org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.Model;
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.codehaus.groovy.runtime.ResourceGroovyMethods;
import org.gradle.api.DefaultTask;
import org.gradle.api.file.RegularFileProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import org.springframework.boot.configurationmetadata.ConfigurationMetadataRepository;
import org.springframework.boot.configurationmetadata.ConfigurationMetadataRepositoryJsonBuilder;
import org.springframework.boot.configurationmetadata.ConfigurationMetadataSource;
import org.springframework.util.StringUtils;

/**
* @author Lars Grefer
Expand Down Expand Up @@ -69,7 +68,7 @@ public void generatePropertyDocumentation() throws IOException {
group.getSources().values()
.stream()
.map(ConfigurationMetadataSource::getShortDescription)
.filter(StringUtils::hasText)
.filter(s -> s != null && !s.isEmpty())
.forEach(d -> writer.printf("# %s\n", d));

group.getProperties().values().stream()
Expand Down
1 change: 1 addition & 0 deletions joinfaces-tools/joinfaces-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dependencies {
compile project(":joinfaces-tools:joinfaces-scan-tools")

compile "org.springframework.boot:spring-boot-gradle-plugin:${SpringBootPlugin.SPRING_BOOT_VERSION}"
compile "io.spring.gradle:dependency-management-plugin"
}

publishing {
Expand Down

0 comments on commit 9e42ba8

Please sign in to comment.