summaryrefslogtreecommitdiff
path: root/java/src/Ice/build.gradle
blob: a183148ce569643198438ca330b41cf51e47ad93 (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 = "Ice"
project.ext.moduleName = "com.zeroc.ice"
project.ext.description = "Ice is a comprehensive RPC framework that helps you build distributed applications" +
                          " with minimal effort using familiar object-oriented idioms"

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

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

//
// Unfortunately we can't simply process Ice classes through javadoc as
// they use various public IceInternal and IceUtilInternal classes. So
// we first compile everything then use these compiled classes to javadoc
// the code we want to document. A handful of public Ice classes (other
// than the *I.java classes) are also marked @hidden.
//
javadoc.dependsOn(compileJava)

javadoc {
    classpath = project.sourceSets.main.output
    excludes = ["**/IceInternal/*.java", "**/IceUtilInternal/*.java", "**/Ice/*I.java"]
}