An open API service indexing awesome lists of open source software.

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.

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[]