Skip to content

taratara10/Processing

Repository files navigation

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 shadowJar

or

gradlew shadowJar

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages