Search Gradle plugins

org.jetbrains.gradle.apple.applePlugin

This plugin simplifies building Objective-C/Swift applications by generating an Xcode project from Gradle DSL. Particularly useful for Kotlin Multiplatform projects. For now only iOS applications are supported.

https://jetbrains.com/

Sources: https://github.com/JetBrains

Version 222.4595-0.23.2 (latest)

222.4595-0.23.2

Created 05 June 2024.

This plugin simplifies building Objective-C/Swift applications by generating an Xcode project from Gradle DSL. Particularly useful for Kotlin Multiplatform projects. For now only iOS applications are supported.

Using the plugins DSL:

plugins {
  id("org.jetbrains.gradle.apple.applePlugin") version "222.4595-0.23.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.jetbrains.gradle.apple:apple-gradle-plugin:222.4595-0.23.2")
  }
}

apply(plugin = "org.jetbrains.gradle.apple.applePlugin")

Using the plugins DSL:

plugins {
  id "org.jetbrains.gradle.apple.applePlugin" version "222.4595-0.23.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.jetbrains.gradle.apple:apple-gradle-plugin:222.4595-0.23.2"
  }
}

apply plugin: "org.jetbrains.gradle.apple.applePlugin"

Learn how to apply plugins to subprojects