Skip to content

Enhancing getting-started docs #73

Closed
@vincentsijben

Description

@vincentsijben

Were you able to successfully create a library with this template? What has been your general experience with this template?

When following https://processing.github.io/processing-library-template/getting-started.html I used the 2 options provided (vscode with 2 extensions and Intellij community edition). Both installations gave me "toolchain" errors, caused by these lines:

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(17)
    }
}

and since I'm a total newbie at using the Gradle approach, I couldn't resolve it quickly. Later on, I've found some answers about creating a settings.gradle.kts and add this:

// settings.gradle.kts
plugins {
    id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
}

After doing this everything worked... So, I tried creating a new project, just to test if everything would work again, and this time I didn't create the settings.gradle.kts and it still worked. So somehow... I needed to install that plugin once, where it remembered it being installed...

Maybe that could be added to the step by step guide?


Furthermore: step 12 "Open the Contribution Manager again to see your changes. The name, description, and author(s) should be updated.". Is this correct?
Locally installed libraries aren't shown in the Contribution Manager, only in the list at Sketch - Import Library.
If one would change name, author and sentence, only the name part could be seen in that list. Maybe that point 12 needs to be rephrased?


Step 2 over at https://processing.github.io/processing-library-template/develop mentions "releaseProcessingLib". Couldn't find that one. I guess it has to be "buildReleaseArtifacts" ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions