Skip to content

Commit

Permalink
DEVEM-539 Reverted unintended changes; Fixed several ambiguity errors
Browse files Browse the repository at this point in the history
  • Loading branch information
todorinskiz committed Nov 29, 2023
1 parent 70936db commit 8fa03f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.Map;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import org.gradle.util.GradleVersion;
Expand All @@ -38,7 +39,7 @@ public void simpleProject() throws IOException {

assertPath(Files::exists, jarFile);

FileSystem jarFs = FileSystems.newFileSystem(jarFile, null);
FileSystem jarFs = FileSystems.newFileSystem(jarFile, (ClassLoader) null);

assertPath(Files::exists, jarFs.getPath("META-INF/MANIFEST.MF"));
assertPath(Files::exists, jarFs.getPath("com/github/dynamicextensionsalfresco/examples/TemplateWebScript.class"));
Expand Down Expand Up @@ -70,7 +71,7 @@ public void bndConfig() throws IOException {

assertPath(Files::exists, jarFile);

FileSystem jarFs = FileSystems.newFileSystem(jarFile, null);
FileSystem jarFs = FileSystems.newFileSystem(jarFile, (ClassLoader) null);

assertPath(Files::exists, jarFs.getPath("META-INF/MANIFEST.MF"));
assertPath(Files::exists, jarFs.getPath("com/github/dynamicextensionsalfresco/examples/TemplateWebScript.class"));
Expand Down Expand Up @@ -102,7 +103,7 @@ public void bndConfigOverwrites() throws IOException {

assertPath(Files::exists, jarFile);

FileSystem jarFs = FileSystems.newFileSystem(jarFile, null);
FileSystem jarFs = FileSystems.newFileSystem(jarFile, (ClassLoader) null);

assertPath(Files::exists, jarFs.getPath("META-INF/MANIFEST.MF"));
assertPath(Files::exists, jarFs.getPath("com/github/dynamicextensionsalfresco/examples/TemplateWebScript.class"));
Expand Down Expand Up @@ -132,7 +133,7 @@ public void shadow() throws IOException {

assertPath(Files::exists, jarFile);

FileSystem jarFs = FileSystems.newFileSystem(jarFile, null);
FileSystem jarFs = FileSystems.newFileSystem(jarFile, (ClassLoader) null);

assertPath(Files::exists, jarFs.getPath("META-INF/MANIFEST.MF"));
assertPath(Files::exists, jarFs.getPath("com/github/dynamicextensionsalfresco/examples/TemplateWebScript.class"));
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include 'annotations'

include 'webscripts'
//include 'webscripts:webscripts-50'
include 'webscripts:webscripts-50'
include 'webscripts:webscripts-70'

include 'event-bus'
Expand All @@ -19,7 +19,7 @@ include 'control-panel'

include 'gradle-plugin'

def supportedAlfrescoVersions = ["74"] // "61", "62", "70", "71", "72", "73",
def supportedAlfrescoVersions = [ "61", "62", "70", "71", "72", "73", "74"]
def alfrescoDependentModules =
[
'alfresco-dynamic-extensions-repo',
Expand Down

0 comments on commit 8fa03f7

Please sign in to comment.