-
-
Save sanity/118f9ba9097fd37af3ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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