summaryrefslogtreecommitdiff
path: root/java/src/IceBT/build.gradle
blob: ce201af19b00181edda0f1c65037f6989e7ed57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

project.ext.displayName = "IceBT"
project.ext.moduleName = "com.zeroc.icebt"
project.ext.description = "Bluetooth support for Ice"

slice {
    java {
        files = fileTree(dir: "$project.ext.topSrcDir/slice/IceBT", includes:['*.ice'], excludes:["*F.ice"])
    }
}

dependencies {
    implementation project(':ice')
}

apply from: "$project.ext.topSrcDir/java/gradle/library.gradle"

jar {
    //
    // The classes in src/main/java/android/bluetooth are stubs that allow us to compile the IceBT transport
    // plug-in without requiring an Android SDK. These classes are excluded from the IceBT JAR file.
    //
    exclude("android/**")
}

javadoc {
    excludes = ["**/android/*", "**/*I.java", "**/Instance.java"]
}