ProcessingForKotlinTemplate

A template for doing “Processing” for Kotlin

En | Ja

Use Library

Usage

Clone template

mkdir Your_Cool_Project_Name
cd Your_Cool_Project_Name
git clone https://github.com/kota-shiokara/ProcessingForKotlinTemplate.git
cd ProcessingForKotlinTemplate

or
Use this template to create a new repository and clone it.

Edit settings.gradle

rootProject.name='Your_Project_Name'

Edit build.gradle

group 'Your_Group_Name'

Edit src/main/kotlin/main.kt

class Main : PApplet(){
                .
                .
    override fun setup() {
        /* Write Your Code */
    }

    override fun draw() {
        /* Write Your Code */
    }
                .
                .

Run

Type the following command directly under the root of project.

# Linux or macOS
./gradlew run

or

@rem windows(command prompt)
gradlew run

If you want to distribute your work as a jar file, type the following command.

Build

./gradlew shadow

or

gradlew shadow

The output file is stored under build/libs/.

Run

java -jar "Output_File_Name"

Author

About Report

Please use issue for filing feature requests and bug reports. Or use the contact information above.

License

MIT License

GitHub

View Github