Skip to content

Commit 62c7454

Browse files
author
Johan Vergeer
committed
Create mapstruct-kotlin-gradle example project
1 parent d6483c5 commit 62c7454

6 files changed

Lines changed: 283 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
3+
plugins {
4+
kotlin("jvm") version "1.2.51"
5+
}
6+
7+
group = "org.mapstruct.examples"
8+
version = "1.0.0-SNAPSHOT"
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
14+
dependencies {
15+
compile(kotlin("stdlib-jdk8"))
16+
}
17+
18+
tasks.withType<KotlinCompile> {
19+
kotlinOptions.jvmTarget = "1.8"
20+
}
53.1 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

mapstruct-kotlin-gradle/gradlew

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mapstruct-kotlin-gradle/gradlew.bat

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rootProject.name = 'mapstruct-kotlin-gradle'
2+

0 commit comments

Comments
 (0)