https://github.com/chrynan/target

Kotlin Multi-platform Target Gradle Plugin

https://github.com/chrynan/target

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary

Keywords

kotlin kotlin-multi-platform kotlin-multiplatform kotlin-multiplatform-library kotlin-target target targets
Last synced: 5 months ago · JSON representation

Repository

Kotlin Multi-platform Target Gradle Plugin

Basic Info
  • Host: GitHub
  • Owner: chRyNaN
  • License: apache-2.0
  • Language: Kotlin
  • Default Branch: master
  • Homepage:
  • Size: 74.2 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
kotlin kotlin-multi-platform kotlin-multiplatform kotlin-multiplatform-library kotlin-target target targets
Created over 5 years ago · Last pushed over 5 years ago
Metadata Files
Readme License

README.md

target

Kotlin Multi-platform Target Gradle Plugin. This Gradle Plugin generates a JSON file, and optional SVGs, for the available Kotlin Targets in a Kotlin Multi-platform Module. This allows easy access to which Kotlin Targets a module supports, for example in a README file.

Using the library

Using the Plugin

  • Apply the plugin groovy apply plugin: "com.chrynan.target.plugin"

  • Setup the extension groovy kotlinTargetDataGenerator { generateJson = true generateSvg = true outputPath = "path/to/generated/output" }

  • Run the Gradle Task ./gradlew generateKotlinTargetData

Refer to the target-example module for an example on how to use the library and for the generated output.

Parsing the JSON Kotlin Targets

  • Add the target-core module as a dependency groovy implementation "com.chrynan.target:target-core:$VERSION"

  • Provide the JSON String to the KotlinTargetContainer.fromJsonString() function kotlin val container = KotlinTargetContainer.fromJsonString(jsonStringValue)

Building the library

The library is provided through Bintray. Checkout the releases page to get the latest version.

Plugin

```groovy buildscript { repositories { maven { url = "https://dl.bintray.com/chrynan/chrynan" } } dependencies { classpath "com.chrynan.target:target-plugin:$VERSION" } }

apply plugin: "com.chrynan.target.plugin" ```

Runtime

Repository

groovy repositories { maven { url = uri("https://dl.bintray.com/chrynan/chrynan") } }

Dependencies

Kotlin Common: groovy implementation "com.chrynan.colors:target-core:$VERSION"

Kotlin JVM: groovy implementation "com.chrynan.colors:target-core-jvm:$VERSION"

Kotlin JS: groovy implementation "com.chrynan.colors:target-core-js:$VERSION"

Kotlin iOS ARM64: groovy implementation "com.chryan.colors:target-core-ios-arm64:$VERSION"

Kotlin iOS x64: groovy implementation "com.chrynan.colors:target-core-ios-x64:$VERSION"

License

``` Copyright 2020 chRyNaN

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```

Owner

  • Name: Christopher
  • Login: chRyNaN
  • Kind: user
  • Location: Austin, TX
  • Company: Starry

GitHub Events

Total
Last Year

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 8
  • Total Committers: 1
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Chris c****n@s****m 8
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago