-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Multiple Plugin Compatibility (#106)
- Loading branch information
1 parent
9ef7d19
commit abbed28
Showing
20 changed files
with
139 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 22 additions & 16 deletions
38
samples/kotlin-multiplatform/api/kotlin-multiplatform-api.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
samples/kotlin-multiplatform/src/androidMain/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest /> |
5 changes: 5 additions & 0 deletions
5
...m/src/androidMain/kotlin/me/tylerbwong/gradle/metalava/sample/SampleAndroidInternalApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
internal class SampleAndroidInternalApi { | ||
val internalApiProperty: String = "" | ||
} |
7 changes: 7 additions & 0 deletions
7
...orm/src/androidMain/kotlin/me/tylerbwong/gradle/metalava/sample/SampleAndroidPublicApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
internal class AndroidPlatform : Platform { | ||
override val platform: String = "Android" | ||
} | ||
|
||
actual val platform: Platform = AndroidPlatform() |
7 changes: 7 additions & 0 deletions
7
...tform/src/commonMain/kotlin/me/tylerbwong/gradle/metalava/sample/SampleCommonPublicApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
interface Platform { | ||
val platform: String | ||
} | ||
|
||
expect val platform: Platform |
6 changes: 0 additions & 6 deletions
6
...ltiplatform/src/commonMain/kotlin/me/tylerbwong/gradle/metalava/sample/SamplePublicApi.kt
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...ltiplatform/src/iosMain/kotlin/me/tylerbwong/gradle/metalava/sample/SampleIosPublicApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
internal class IosPlatform : Platform { | ||
override val platform: String = "iOS" | ||
} | ||
|
||
actual val platform: Platform = IosPlatform() |
6 changes: 0 additions & 6 deletions
6
...-multiplatform/src/iosMain/kotlin/me/tylerbwong/gradle/metalava/sample/SamplePublicApi.kt
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...multiplatform/src/jsMain/kotlin/me/tylerbwong/gradle/metalava/sample/SampleJsPublicApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
internal class JsPlatform : Platform { | ||
override val platform: String = "JS" | ||
} | ||
|
||
actual val platform: Platform = JsPlatform() |
6 changes: 0 additions & 6 deletions
6
...n-multiplatform/src/jsMain/kotlin/me/tylerbwong/gradle/metalava/sample/SamplePublicApi.kt
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...ltiplatform/src/jvmMain/kotlin/me/tylerbwong/gradle/metalava/sample/SampleJvmPublicApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
internal class JvmPlatform : Platform { | ||
override val platform: String = "JVM" | ||
} | ||
|
||
actual val platform: Platform = JvmPlatform() |
6 changes: 0 additions & 6 deletions
6
...-multiplatform/src/jvmMain/kotlin/me/tylerbwong/gradle/metalava/sample/SamplePublicApi.kt
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...form/src/linuxX64Main/kotlin/me/tylerbwong/gradle/metalava/sample/SampleLinuxPublicApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package me.tylerbwong.gradle.metalava.sample | ||
|
||
internal class LinuxPlatform : Platform { | ||
override val platform: String = "Linux" | ||
} | ||
|
||
actual val platform: Platform = LinuxPlatform() |
6 changes: 0 additions & 6 deletions
6
...iplatform/src/linuxX64Main/kotlin/me/tylerbwong/gradle/metalava/sample/SamplePublicApi.kt
This file was deleted.
Oops, something went wrong.