https://github.com/chrynan/target
Kotlin Multi-platform Target Gradle Plugin
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
Repository
Kotlin Multi-platform Target Gradle Plugin
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
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-coremodule as a dependencygroovy implementation "com.chrynan.target:target-core:$VERSION"Provide the JSON String to the
KotlinTargetContainer.fromJsonString()functionkotlin 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
- Website: https://chrynan.codes
- Repositories: 15
- Profile: https://github.com/chRyNaN
GitHub Events
Total
Last Year
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Chris | c****n@s****m | 8 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago