Commits

Meikel Brandmeyer committed 2c4701f

Add qualified plugin name

  • Participants
  • Parent commits afeb701

Comments (0)

Files changed (2)

src/main/resources/META-INF/gradle-plugins/clojuresque-clojars.properties

+implementation-class=clojuresque.clojars.ClojarsPlugin

src/test/groovy/clojuresque/clojars/ClojarsPluginTest.groovy

 public class ClojarsPluginTest extends Specification {
     def project = ProjectBuilder.builder().build()
 
-    def setup() {
-        project.apply plugin: "clojars"
-    }
+    def "extension is installed by the plugin"() {
+        given:
+        project.apply plugin: "clojuresque-clojars"
 
-    def "extension is installed by the plugin"() {
         expect:
         project.hasProperty("clojars")
         project.clojars instanceof ClojarsExtension
     }
 
     def "deployer jar configuration is installed"() {
+        given:
+        project.apply plugin: "clojuresque-clojars"
+
         expect:
         project.configurations["clojuresqueClojarsDeployerJars"]
     }