https://github.com/daggerok/kotlinpoet-example
Using kotlinpoet library for generation Kotlin code.
https://github.com/daggerok/kotlinpoet-example
Last synced: 10 months ago
JSON representation
Using kotlinpoet library for generation Kotlin code.
- Host: GitHub
- URL: https://github.com/daggerok/kotlinpoet-example
- Owner: daggerok
- License: mit
- Created: 2018-05-01T13:56:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T05:50:08.000Z (over 7 years ago)
- Last Synced: 2025-01-10T00:44:25.726Z (12 months ago)
- Language: Kotlin
- Size: 105 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= kotlinpoet-example image:https://travis-ci.org/daggerok/kotlinpoet-example.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/kotlinpoet-example"]
//tag::content[]
_example of using link:https://github.com/square/kotlinpoet[kotlinpoet] library_
.build
[source,bash]
----
# maven jar
./mvnw clean package
java -jar target/*-all.jar
# gradle jar
./gradlew
java -jar ./build/libs/*-all.jar
# gradle install script
./gradlew clean installDist
./build/install/kotlinpoet-example/bin/kotlinpoet-example
# gradle distribution
./gradlew clean distZip
unzip -o ./build/distributions/kotlinpoet-example-0.0.1.zip -d /tmp
bash /tmp/kotlinpoet-example-0.0.1/bin/kotlinpoet-example
----
generated by link:https://github.com/daggerok/generator-jvm/[jvm] yeoman generator
//end::content[]