Rename spring-boot-loader to spring-boot-loader-classic
Rename the `spring-boot-loader` module to `spring-boot-loader-classic` so that we can introduce an alternative loader implementation. See gh-37669
This commit is contained in:
@@ -36,7 +36,7 @@ dependencies {
|
||||
|
||||
compileOnly("ch.qos.logback:logback-classic")
|
||||
|
||||
loader(project(":spring-boot-project:spring-boot-tools:spring-boot-loader"))
|
||||
loader(project(":spring-boot-project:spring-boot-tools:spring-boot-loader-classic"))
|
||||
|
||||
jarmode(project(":spring-boot-project:spring-boot-tools:spring-boot-jarmode-layertools"))
|
||||
|
||||
@@ -57,7 +57,7 @@ task reproducibleLoaderJar(type: Jar) {
|
||||
}
|
||||
reproducibleFileOrder = true
|
||||
preserveFileTimestamps = false
|
||||
archiveFileName = "spring-boot-loader.jar"
|
||||
archiveFileName = "spring-boot-loader-classic.jar"
|
||||
destinationDirectory = file("${generatedResources}/META-INF/loader")
|
||||
}
|
||||
|
||||
@@ -78,6 +78,6 @@ sourceSets {
|
||||
|
||||
compileJava {
|
||||
if ((!project.hasProperty("toolchainVersion")) && JavaVersion.current() == JavaVersion.VERSION_1_8) {
|
||||
options.compilerArgs += ['-Xlint:-sunapi', '-XDenableSunApiLintControl']
|
||||
}
|
||||
options.compilerArgs += ['-Xlint:-sunapi', '-XDenableSunApiLintControl']
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ import org.apache.commons.compress.archivers.zip.UnixStat;
|
||||
*/
|
||||
public abstract class AbstractJarWriter implements LoaderClassesWriter {
|
||||
|
||||
private static final String NESTED_LOADER_JAR = "META-INF/loader/spring-boot-loader.jar";
|
||||
private static final String NESTED_LOADER_JAR = "META-INF/loader/spring-boot-loader-classic.jar";
|
||||
|
||||
private static final int BUFFER_SIZE = 32 * 1024;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user