Skip to content

Instantly share code, notes, and snippets.

@patorash
Created December 17, 2013 03:23
Show Gist options
  • Save patorash/7999519 to your computer and use it in GitHub Desktop.
Save patorash/7999519 to your computer and use it in GitHub Desktop.
build.gradle on Wasabi.
buildscript {
project.ext.kotlin_version = '0.6.1673'
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'patorash.wasabi.WasabiPackage'
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url "http://repository.jetbrains.com/all"
}
}
dependencies {
compile "org.wasabi:wasabi:0.1-SNAPSHOT"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
sourceSets {
src {
main {
kotlin
}
}
test {
main {
kotlin
}
}
main.java.srcDirs += 'src/main/kotlin'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.8'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment