2017-04-13 17:06:41 +03:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2017-12-07 17:03:42 +03:00
|
|
|
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
|
2017-04-13 17:06:41 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.google.protobuf'
|
|
|
|
|
2017-04-15 22:15:53 +03:00
|
|
|
description = "A bse package with minimal dependencies for numass"
|
|
|
|
|
2017-04-13 17:06:41 +03:00
|
|
|
|
2015-12-18 16:20:47 +03:00
|
|
|
dependencies {
|
2017-04-05 22:07:43 +03:00
|
|
|
compile "hep.dataforge:dataforge-storage" //project(':dataforge-storage')
|
2017-12-21 16:12:20 +03:00
|
|
|
compile "hep.dataforge:kodex"
|
2017-12-07 17:03:42 +03:00
|
|
|
compile 'com.google.protobuf:protobuf-java:3.5.0'
|
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/com.github.robtimus/sftp-fs
|
2017-12-21 16:12:20 +03:00
|
|
|
compile group: 'com.github.robtimus', name: 'sftp-fs', version: '1.1.3'
|
2017-04-13 17:06:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
protobuf {
|
|
|
|
// Configure the protoc executable
|
|
|
|
protoc {
|
|
|
|
// Download from repositories
|
2017-12-07 17:03:42 +03:00
|
|
|
artifact = 'com.google.protobuf:protoc:3.5.0'
|
2017-04-13 17:06:41 +03:00
|
|
|
}
|
|
|
|
generatedFilesBaseDir = "$projectDir/gen"
|
|
|
|
}
|
|
|
|
|
|
|
|
clean {
|
|
|
|
delete protobuf.generatedFilesBaseDir
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
|
|
|
|
2017-04-13 17:06:41 +03:00
|
|
|
idea {
|
|
|
|
module {
|
|
|
|
sourceDirs += file("${protobuf.generatedFilesBaseDir}/main/java");
|
|
|
|
sourceDirs += file("src/main/proto")
|
|
|
|
}
|
|
|
|
}
|