Dependencies
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/")
}<repositories>
<repository>
<id>sonatype-oss-snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>Dependency:
To add the library to your project you can use the following snippet:
dependencies {
implementation 'dev.themeinerlp:dartpoet:VERSION'
}dependencies {
implementation("dev.themeinerlp:dartpoet:VERSION")
}<dependency>
<groupId>dev.themeinerlp</groupId>
<artifactId>dartpoet</artifactId>
<version>VERSION</version>
</dependency>The library can be used in production, but it is still in development. This means that some features can contain bugs or may change in the future. We recommend to use the library with caution and to report any issues you encounter.
Last updated