Browse Source

Merge pull request #19953 from dreis2211

* gh-19953:
  Upgrade to Asciidoctor Gradle JVM 3.0.0

Closes gh-19953
pull/20168/head
Andy Wilkinson 6 years ago
parent
commit
f2a1840c88
  1. 3
      buildSrc/build.gradle
  2. 2
      buildSrc/src/main/java/org/springframework/boot/build/context/properties/SingleConfigurationTableEntry.java
  3. 2
      spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java

3
buildSrc/build.gradle

@ -18,7 +18,8 @@ dependencies { @@ -18,7 +18,8 @@ dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.10.0")
implementation("commons-codec:commons-codec:1.13")
implementation("org.apache.maven:maven-embedder:3.6.2")
implementation("org.asciidoctor:asciidoctor-gradle-jvm:2.4.0")
implementation("org.asciidoctor:asciidoctor-gradle-jvm:3.0.0")
implementation("org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.0.0")
implementation("org.springframework:spring-core:5.2.2.RELEASE")
implementation("org.springframework:spring-web:5.2.2.RELEASE")
implementation("com.google.code.gson:gson:2.8.5")

2
buildSrc/src/main/java/org/springframework/boot/build/context/properties/SingleConfigurationTableEntry.java

@ -74,7 +74,7 @@ class SingleConfigurationTableEntry extends ConfigurationTableEntry { @@ -74,7 +74,7 @@ class SingleConfigurationTableEntry extends ConfigurationTableEntry {
builder.append("|");
}
else {
String cleanedDescription = this.description.replace("|", "\\|");
String cleanedDescription = this.description.replace("|", "\\|").replace("<", "&lt;").replace(">", "&gt;");
builder.append("|+++", cleanedDescription, "+++");
}
}

2
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java

@ -89,7 +89,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB @@ -89,7 +89,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
private String password;
/**
* JNDI location of the datasource. Class, url, username & password are ignored when
* JNDI location of the datasource. Class, url, username and password are ignored when
* set.
*/
private String jndiName;

Loading…
Cancel
Save