* Import syncthing-java/master using the import gradle project wizard * Update buildscripts for the current gradle version * Add kotlin plugin to the library modules * Use locale module instead of maven local * Add Kotlin runtime library to all projects * Add compiling protocol buffers * Update module names * Remove building the old syncthing-java in the CI * Remove installing the protocol buffer compiler * Fix building the default repository implementation
17 lines
424 B
Groovy
17 lines
424 B
Groovy
apply plugin: 'application'
|
|
apply plugin: 'kotlin'
|
|
mainClassName = 'net.syncthing.java.client.cli.Main'
|
|
|
|
dependencies {
|
|
compile project(':syncthing-client')
|
|
compile project(':syncthing-repository-default')
|
|
compile "commons-cli:commons-cli:1.4"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
}
|
|
|
|
run {
|
|
if (project.hasProperty('args')) {
|
|
args project.args.split('\\s+')
|
|
}
|
|
}
|