Search Gradle plugins

Version 1.2.0 (latest)

1.2.0

Created 20 February 2019.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact 📦 Gradle plugin for the Swift Package Manager.

Using the plugins DSL:

plugins {
  id("at.phatbl.swiftpm") version "1.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.at.phatbl:swiftpm:1.2.0")
  }
}

apply(plugin = "at.phatbl.swiftpm")

Using the plugins DSL:

plugins {
  id "at.phatbl.swiftpm" version "1.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.at.phatbl:swiftpm:1.2.0"
  }
}

apply plugin: "at.phatbl.swiftpm"

Learn how to apply plugins to subprojects