Skip to content

Instantly share code, notes, and snippets.

@sanity
Created December 24, 2015 17:42
Show Gist options
  • Save sanity/118f9ba9097fd37af3ad to your computer and use it in GitHub Desktop.
Save sanity/118f9ba9097fd37af3ad to your computer and use it in GitHub Desktop.
import com.beust.kobalt.*
import com.beust.kobalt.plugin.packaging.assemble
import com.beust.kobalt.plugin.kotlin.*
val repos = repos()
val kotlinVersion = "1.0.0-beta-3595"
val p = kotlinProject {
name = "watchdog"
group = "us.locut"
artifactId = name
version = "1.0-SNAPSHOT"
sourceDirectories {
path("src/main/kotlin")
path("src/main/resources")
path("src/main/res")
}
sourceDirectoriesTest {
path("src/test/resources")
path("src/test/res")
path("src/test/kotlin")
}
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
compile("com.google.guava:guava:18.0")
compile("com.github.sarxos:webcam-capture:0.3.10")
compile("com.mkobos:pca_transform:1.0.2")
}
dependenciesTest {
compile("junit:junit:4.11")
}
assemble {
jar {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment