KotlinPoetDSL
  • Welcome
  • Prerelease
  • Building
  • Structure
  • differences to KotlinPoet
    • Variable
    • ConstructorSpec
    • Inline properties
  • codeBlock
    • Intro to CodeBlock
    • CodeBlock-Structure
    • Switch
    • If
    • repeat
Powered by GitBook
On this page
  • Version
  • Gradle - groovy
  • Gradle - kotlin
  • Maven

Was this helpful?

Building

For building, we use JitPack.

PreviousPrereleaseNextStructure

Last updated 6 years ago

Was this helpful?

Version

We use JitPack for building the project. This means that you have a lot of choice about which version you want to use. You can check out every commit of every branch. Jitpack provides also the way to add, but otherwise this page is a bit empty...

For the url go to:

Gradle - groovy

  1. Add the JitPack repository to the end of your build file

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
  1. Add the dependency

dependencies {
        implementation 'nl.devhaan:KotlinPoetDSL:VERSION'
}

Gradle - kotlin

  1. Add the JitPack repository to the end of your build file

allprojects {
	repositories {
		...
		maven("https://jitpack.io")
	}
}

2. Add the dependency

dependencies {
        implementation("nl.devhaan:KotlinPoetDSL:VERSION")
}

Maven

  1. Add the JitPack repository to the end of your build file

	<repositories>
		<repository>
   			<id>jitpack.io</id>
			<url>https://jitpack.io</url>
		</repository>
	</repositories>

2. add the dependency

	<dependency>
	    <groupId>nl.devhaan</groupId>
	    <artifactId>KotlinPoetDSL</artifactId>
	    <version>Tag</version>
	</dependency>
https://jitpack.io/#nl.devhaan/KotlinPoetDSL