Skip to content

Commit

Permalink
Gradle: Add multiple new targets
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Jul 31, 2022
1 parent 9f7f6aa commit 062f607
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Kotlin 1.7.10](https://github.com/JetBrains/kotlin/releases/tag/v1.7.10)
- [Gradle-7.5](https://docs.gradle.org/7.5/release-notes.html)
- [Spotless-6.9.0](https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md#690---2022-07-28)
- Add targets: linuxX64, macosArm64, mingwX64
- Stop building frameworks, they aren't published by default

## [1.0.5] - 2022-05-19
### Added
Expand Down
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# Kase64

[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
![Maven Central](https://img.shields.io/maven-central/v/de.peilicke.sascha/kase64)
![Kotlin Version](https://img.shields.io/badge/Kotlin-1.7.10-B125EA?logo=kotlin)
[![Maven Central](https://img.shields.io/maven-central/v/de.peilicke.sascha/kase64.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22de.peilicke.sascha%22%20AND%20a:%22kase64%22)
[![Build Status](https://github.com/saschpe/kase64/workflows/Main%20CI/badge.svg)](https://github.com/saschpe/kase64/actions)
![badge-android](http://img.shields.io/badge/platform-android-brightgreen.svg?style=flat)
![badge-ios](http://img.shields.io/badge/platform-ios-brightgreen.svg?style=flat)
![badge-native](http://img.shields.io/badge/platform-native-lightgrey.svg?style=flat)
![badge-js](http://img.shields.io/badge/platform-js-yellow.svg?style=flat)
![badge-jvm](http://img.shields.io/badge/platform-jvm-orange.svg?style=flat)
![Kotlin Version](https://img.shields.io/badge/kotlin-v1.3.60-F88909?style=flat&logo=kotlin)

Base64 encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
[![License](http://img.shields.io/:License-Apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)

![badge-android](http://img.shields.io/badge/Platform-Android-brightgreen.svg?logo=android)
![badge-ios](http://img.shields.io/badge/Platform-iOS-orange.svg?logo=apple)
![badge-js](http://img.shields.io/badge/Platform-NodeJS-yellow.svg?logo=javascript)
![badge-jvm](http://img.shields.io/badge/Platform-JVM-red.svg?logo=openjdk)
![badge-linux](http://img.shields.io/badge/Platform-Linux-lightgrey.svg?logo=linux)
![badge-macos](http://img.shields.io/badge/Platform-macOS-orange.svg?logo=apple)
![badge-windows](http://img.shields.io/badge/Platform-Windows-blue.svg?logo=windows)

[//]: # (![badge-tvos](http://img.shields.io/badge/Platform-tvOS-orange.svg?logo=apple))

[//]: # (![badge-watchos](http://img.shields.io/badge/Platform-watchOS-orange.svg?logo=apple))

Base64 encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, Linux, JavaScript, Windows, watchOS, tvOS
and plain JVM environments.

**Supported encodings**

Expand Down
9 changes: 7 additions & 2 deletions kase64/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ plugins {

kotlin {
android { publishAllLibraryVariants() }
ios { binaries.framework("Kase64") }
iosSimulatorArm64 { binaries.framework("Kase64") }
ios()
iosSimulatorArm64()
js {
nodejs()
compilations.all {
Expand All @@ -17,6 +17,11 @@ kotlin {
}
}
jvm { testRuns["test"].executionTask.configure { useJUnitPlatform() } }
linuxX64()
macosArm64()
mingwX64() // Winwhat?!?
// tvos()
// watchos()

sourceSets["commonTest"].dependencies {
implementation(kotlin("test"))
Expand Down

0 comments on commit 062f607

Please sign in to comment.