summaryrefslogtreecommitdiff
path: root/java/src/IceBT/build.gradle
blob: b58cf5899364281102a555e17a057df7166e2637 (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
32
33
34
35
36
// **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

sourceCompatibility = iceSourceCompatibility
targetCompatibility = iceTargetCompatibility

project.ext.displayName = "IceBT"
project.ext.description = "Bluetooth support for Ice"

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

dependencies {
    compile 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/**")
}