Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

Readme updates #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[![View on Maven Central](https://img.shields.io/maven-central/v/co.touchlab/kotlinnativecocoapods)](https://search.maven.org/artifact/co.touchlab/kotlinnativecocoapods)

# Kotlin Cocoapods Extended

This plugin is a fork of the Kotlin Multiplatform plugin's cocoapods support. Cocoapods support bundled into the KMP
This plugin is a fork of the `rg.jetbrains.kotlin.native.cocopods` plugin. Cocoapods support bundled into the KMP
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rg.jetbrains.kotlin.native.cocopods instead of org.jetbrains.kotlin.native.cocopods

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops

Gradle plugin is somewhat limited, and trying to change how that works is difficult because it is bundled with the main
plugin and the main Kotlin project itself. This fork has pulled out just the Cocoapods support and changed the namespace
so it won't clash.
Expand All @@ -17,30 +19,40 @@ as desired.

## Usage

See [Releases](https://github.com/touchlab/KotlinCocoapods/releases) for current version.

Add the following to the buildscript section:

```groovy
```kotlin
buildscript {
dependencies {
classpath 'co.touchlab:kotlinnativecocoapods:0.11'
classpath("co.touchlab:kotlinnativecocoapods:0.12")
}
}
```

Apply the plugin in the shared code project, and configure the plugin

```groovy
```kotlin
plugins {
id("co.touchlab.native.cocoapods")
id("co.touchlab.native.cocoapods")
}

kotlin {
cocoapodsext {
summary = "Common library for the KaMP starter kit"
homepage = "https://github.com/touchlab/KaMPStarter"
isStatic = false
summary = "Common library for the KaMP starter kit"
homepage = "https://github.com/touchlab/KaMPStarter"
framework {
isStatic = false
export("com.example:dependency:1.0)
transitiveExport = true
}
}
}
```

## Primary Maintainer

[Russell Wolf](https://github.com/russhwolf/)

![](https://avatars.githubusercontent.com/u/3256243?s=140&v=4)

*Reach out on [Twitter](twitter.com/russhwolf) or [Kotlinlang Slack](https://kotlinlang.slack.com/archives/D2VU3UHU0)*