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

build.gradle 911 Bytes
Newer Older
René Schöne's avatar
René Schöne committed
1
2
3
4
5
apply plugin: 'application'
apply plugin: 'com.google.protobuf'

sourceCompatibility = 1.8

6
mainClassName = 'de.tudresden.inf.st.ros2rag.senderstub.SenderMain'
René Schöne's avatar
René Schöne committed
7
8
9
10
11
12
13
14
15
16
17
18
19

repositories {
    jcenter()
}

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

sourceSets.main.java.srcDir "src/gen/java"
20
jar.manifest.attributes('Main-Class': 'de.tudresden.inf.st.ros2rag.senderstub.SenderMain')
René Schöne's avatar
René Schöne committed
21
22

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

René Schöne's avatar
René Schöne committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
    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'
    }
}