Commit e85b0c70 authored by Phillip Webb's avatar Phillip Webb

Merge branch '2.5.x'

parents 5fc0e1ca fd83158f
......@@ -37,7 +37,7 @@ public class MyBuildTool {
private void getLibraries(LibraryCallback callback) throws IOException {
// Build system specific implementation, callback for each dependency
for (File nestedJar : getCompileScopeJars()) {
callback.library(new Library(null, nestedJar, LibraryScope.COMPILE, null, false, false, true));
callback.library(new Library(nestedJar, LibraryScope.COMPILE));
}
// ...
}
......
......@@ -49,12 +49,9 @@ public class Library {
* Create a new {@link Library}.
* @param file the source file
* @param scope the scope of the library
* @deprecated since 2.4.8 for removal in 2.6.0 in favor of
* {@link #Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean)}
*/
@Deprecated
public Library(File file, LibraryScope scope) {
this(file, scope, false);
this(null, file, scope, null, false, false, true);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment