File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed
integrationTest/java/eu/xenit/gradle/alfrescosdk
main/java/eu/xenit/gradle/alfrescosdk Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 44[ ![ Gradle Plugin Portal] ( https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/eu/xenit/amp/eu.xenit.amp.gradle.plugin/maven-metadata.xml.svg?colorB=007ec6&label=eu.xenit.amp )] ( https://plugins.gradle.org/plugin/eu.xenit.amp )
55
66Gradle plugins and tasks to support Alfresco development.
7- Gradle 5.0 and above are supported.
7+ Gradle 5.1 and above are supported.
88
99## Usage
1010
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ public static Collection<Object[]> testData() {
3333 {"5.4.1" },
3434 {"5.3.1" },
3535 {"5.2.1" },
36- {"5.1.1" },
37- {"5.0" },
36+ {"5.1.1" }
3837 });
3938 }
4039
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public final class GradleVersionCheck {
77 private GradleVersionCheck () {
88
99 }
10- private static final GradleVersion MINIMUM_VERSION = GradleVersion .version ("5.0 " );
10+ private static final GradleVersion MINIMUM_VERSION = GradleVersion .version ("5.1 " );
1111 public static void assertSupportedVersion (String pluginId ) {
1212 GradleVersion currentVersion = GradleVersion .current ();
1313
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ public class Amp extends Zip {
4646
4747 private ConfigurableFileCollection deBundles = getProject ().files ();
4848
49- private final DefaultCopySpec ampCopySpec = (DefaultCopySpec ) getRootSpec ().addChildBeforeSpec (getMainSpec ()).into ("" );;
49+ private final DefaultCopySpec ampCopySpec = (DefaultCopySpec ) getRootSpec ().addChildBeforeSpec (getMainSpec ()).into ("" );
5050
5151 public Amp () {
52- setExtension (AMP_EXTENSION );
53- setDestinationDir (getProject ().getBuildDir ().toPath ().resolve ("dist" ).toFile ());
52+ getArchiveExtension (). set (AMP_EXTENSION );
53+ getDestinationDirectory (). set (getProject ().getBuildDir ().toPath ().resolve ("dist" ).toFile ());
5454 //<editor-fold desc="CopySpec setup">
5555 ampCopySpec .into ("lib" , spec -> {
5656 spec .from ((Callable <FileCollection >) () -> getLibs ());
You can’t perform that action at this time.
0 commit comments