import org.gradle.api.tasks.wrapper.Wrapper.DistributionType

plugins {
    application
    kotlin("jvm") version "1.2.50"
}

defaultTasks("run")

dependencies {
    compile("net.thauvin.erik:pinboard-poster:0.9.3")
}

application {
    mainClassName = "net.thauvin.erik.pinboard.samples.KotlinExampleKt"
}

repositories {
    jcenter()
}

task<Wrapper>("wrapper") {
    gradleVersion = "4.8"
    distributionType = DistributionType.ALL
}