diff --git a/build.gradle b/build.gradle index f90cbae..ae2067f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { - id 'nebula.plugin-plugin' version '15.4.1' + id 'nebula.plugin-plugin' version '16.0.1' } repositories { @@ -44,6 +44,8 @@ gradlePlugin { } } +description = 'Plugins to ease use of Node tools (Node, Grunt, Gulp)' + pluginBundle { website = 'https://github.com/nebula-plugins/nebula-node-plugin' vcsUrl = 'https://github.com/nebula-plugins/nebula-node-plugin.git' diff --git a/gradle.lockfile b/gradle.lockfile new file mode 100644 index 0000000..8872301 --- /dev/null +++ b/gradle.lockfile @@ -0,0 +1,21 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +cglib:cglib-nodep:3.2.4=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +com.github.stefanbirkner:system-rules:1.19.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +com.netflix.nebula:nebula-test:10.0.1=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-io:commons-io:1.3.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +junit:junit-dep:4.11=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +junit:junit:4.13=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-io:1.3.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apiguardian:apiguardian-api:1.1.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.codehaus.groovy:groovy:3.0.6=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hamcrest:hamcrest-core:1.3=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hamcrest:hamcrest:2.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-commons:1.7.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-engine:1.7.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.objenesis:objenesis:2.4=integTestRuntimeClasspath,testRuntimeClasspath +org.opentest4j:opentest4j:1.2.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.spockframework:spock-core:2.0-M4-groovy-3.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +org.spockframework:spock-junit4:2.0-M4-groovy-3.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=annotationProcessor,compileClasspath,integTestAnnotationProcessor,runtimeClasspath,testAnnotationProcessor diff --git a/gradle/dependency-locks/annotationProcessor.lockfile b/gradle/dependency-locks/annotationProcessor.lockfile deleted file mode 100644 index 656c5db..0000000 --- a/gradle/dependency-locks/annotationProcessor.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/gradle/dependency-locks/compileClasspath.lockfile b/gradle/dependency-locks/compileClasspath.lockfile deleted file mode 100644 index 656c5db..0000000 --- a/gradle/dependency-locks/compileClasspath.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/gradle/dependency-locks/integTestAnnotationProcessor.lockfile b/gradle/dependency-locks/integTestAnnotationProcessor.lockfile deleted file mode 100644 index 656c5db..0000000 --- a/gradle/dependency-locks/integTestAnnotationProcessor.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/gradle/dependency-locks/integTestCompileClasspath.lockfile b/gradle/dependency-locks/integTestCompileClasspath.lockfile deleted file mode 100644 index 5173ab7..0000000 --- a/gradle/dependency-locks/integTestCompileClasspath.lockfile +++ /dev/null @@ -1,12 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -cglib:cglib-nodep:3.2.4 -com.github.stefanbirkner:system-rules:1.19.0 -com.netflix.nebula:nebula-test:9.0.0 -commons-io:commons-io:1.3.2 -junit:junit-dep:4.11 -junit:junit:4.12 -org.apache.commons:commons-io:1.3.2 -org.hamcrest:hamcrest-core:1.3 -org.spockframework:spock-core:1.3-groovy-2.4 diff --git a/gradle/dependency-locks/integTestRuntimeClasspath.lockfile b/gradle/dependency-locks/integTestRuntimeClasspath.lockfile deleted file mode 100644 index 62860d6..0000000 --- a/gradle/dependency-locks/integTestRuntimeClasspath.lockfile +++ /dev/null @@ -1,13 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -cglib:cglib-nodep:3.2.4 -com.github.stefanbirkner:system-rules:1.19.0 -com.netflix.nebula:nebula-test:9.0.0 -commons-io:commons-io:1.3.2 -junit:junit-dep:4.11 -junit:junit:4.12 -org.apache.commons:commons-io:1.3.2 -org.hamcrest:hamcrest-core:1.3 -org.objenesis:objenesis:2.4 -org.spockframework:spock-core:1.3-groovy-2.4 diff --git a/gradle/dependency-locks/runtimeClasspath.lockfile b/gradle/dependency-locks/runtimeClasspath.lockfile deleted file mode 100644 index 656c5db..0000000 --- a/gradle/dependency-locks/runtimeClasspath.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/gradle/dependency-locks/testAnnotationProcessor.lockfile b/gradle/dependency-locks/testAnnotationProcessor.lockfile deleted file mode 100644 index 656c5db..0000000 --- a/gradle/dependency-locks/testAnnotationProcessor.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/gradle/dependency-locks/testCompileClasspath.lockfile b/gradle/dependency-locks/testCompileClasspath.lockfile deleted file mode 100644 index 5173ab7..0000000 --- a/gradle/dependency-locks/testCompileClasspath.lockfile +++ /dev/null @@ -1,12 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -cglib:cglib-nodep:3.2.4 -com.github.stefanbirkner:system-rules:1.19.0 -com.netflix.nebula:nebula-test:9.0.0 -commons-io:commons-io:1.3.2 -junit:junit-dep:4.11 -junit:junit:4.12 -org.apache.commons:commons-io:1.3.2 -org.hamcrest:hamcrest-core:1.3 -org.spockframework:spock-core:1.3-groovy-2.4 diff --git a/gradle/dependency-locks/testRuntimeClasspath.lockfile b/gradle/dependency-locks/testRuntimeClasspath.lockfile deleted file mode 100644 index 62860d6..0000000 --- a/gradle/dependency-locks/testRuntimeClasspath.lockfile +++ /dev/null @@ -1,13 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -cglib:cglib-nodep:3.2.4 -com.github.stefanbirkner:system-rules:1.19.0 -com.netflix.nebula:nebula-test:9.0.0 -commons-io:commons-io:1.3.2 -junit:junit-dep:4.11 -junit:junit:4.12 -org.apache.commons:commons-io:1.3.2 -org.hamcrest:hamcrest-core:1.3 -org.objenesis:objenesis:2.4 -org.spockframework:spock-core:1.3-groovy-2.4 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 549d844..ffed3a2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/test/groovy/com/moowork/gradle/node/util/PlatformHelperTest.groovy b/src/test/groovy/com/moowork/gradle/node/util/PlatformHelperTest.groovy index 2bb37d3..3b50cb5 100644 --- a/src/test/groovy/com/moowork/gradle/node/util/PlatformHelperTest.groovy +++ b/src/test/groovy/com/moowork/gradle/node/util/PlatformHelperTest.groovy @@ -39,16 +39,4 @@ class PlatformHelperTest 'SunOS' | 'x86' | 'sunos' | 'x86' | false 'SunOS' | 'x86_64' | 'sunos' | 'x64' | false } - - def "throw exception if unsupported os"() - { - given: - this.props.setProperty( "os.name", 'Nonsense' ) - - when: - this.helper.getOsName() - - then: - thrown( IllegalArgumentException ) - } }