Search Gradle plugins

com.github.pagr0m.kotlin.native.spm

Gradle plugin for Swift Package Manager integration with Kotlin Multiplatform projects

https://github.com/PaGr0m/kotlin-spm-plugin

Version 0.1.1 (latest)

Created 29 May 2021.

Gradle plugin for Swift Package Manager integration with Kotlin Multiplatform projects

Using the plugins DSL:

plugins {
  id "com.github.pagr0m.kotlin.native.spm" version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.pagr0m:kotlin.native.spm:0.1.1"
  }
}

apply plugin: "com.github.pagr0m.kotlin.native.spm"

Using the plugins DSL:

plugins {
  id("com.github.pagr0m.kotlin.native.spm") version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.pagr0m:kotlin.native.spm:0.1.1")
  }
}

apply(plugin = "com.github.pagr0m.kotlin.native.spm")

Learn how to apply plugins to subprojects