Dependencies

DartPoet requires Java 21 or newer to run without issues. When using Gradle, please ensure that you are using version 8.5 or higher.

The integration of DartPoet into your Kotlin or Java project is straightforward. You only need to add a few repositories if they are not already set up

Repositories:

At the moment the library is only available over the snapshot repository. This means that you have to add the snapshot repository from Maven to your project. The library is not yet available on Maven Central.

The url to the repository can be found here

repositories {
     maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

Dependency:

To add the library to your project you can use the following snippet:

dependencies {
    implementation 'dev.themeinerlp:dartpoet:VERSION'
}

Last updated