GitLab update scheduled for Friday, January 21th between 08:15 and 08:45 CET. If unpleasant, please contact René or Martin.

build.gradle 1.37 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
apply plugin: 'application'
apply plugin: 'com.google.protobuf'

sourceCompatibility = 1.8

mainClassName = 'de.tudresden.inf.st.ros2rag.receiverstub.Main'

repositories {
    jcenter()
}

buildscript {
    repositories.jcenter()
    dependencies {
        classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12'
    }
}

sourceSets.main.java.srcDir "src/gen/java"
jar.manifest.attributes('Main-Class': 'de.tudresden.inf.st.ros2rag.receiverstub.Main')

dependencies {
René Schöne's avatar
René Schöne committed
23
24
    implementation project(':ros2rag.starter')

25
26
27
    implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-xml', version: "${jackson_version}"
    implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jackson_version}"
    implementation group: 'net.sf.beaver', name: 'beaver-rt', version: '0.9.11'
René Schöne's avatar
René Schöne committed
28
29
    implementation group: 'com.google.protobuf', name: 'protobuf-java', version: '3.0.0'
    implementation group: 'org.fusesource.mqtt-client', name: 'mqtt-client', version: '1.15'
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

    protobuf files("$projectDir/../ros2rag.example/src/main/proto")
}

test {
    useJUnitPlatform()

    maxHeapSize = '1G'
}

protobuf {
    // create strange directories, so use default here
//    generatedFilesBaseDir = "$projectDir/src/gen/java"
    protoc {
        // The artifact spec for the Protobuf Compiler
        artifact = 'com.google.protobuf:protoc:3.0.0'
    }
}