forked from frett27/jfgdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (25 loc) · 849 Bytes
/
build.gradle
File metadata and controls
35 lines (25 loc) · 849 Bytes
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
allprojects {
apply plugin: 'java'
group = 'org.jfgdb'
version = fgdbversion
targetCompatibility = 1.7
sourceCompatibility = 1.7
}
apply plugin:'distribution'
distributions {
main {
baseName = "jfgdb"
contents {
from (project(':nativewrapper').buildDir) {
include('binaries/**/*.dll')
include('binaries/**/*.so')
include('binaries/**/*.dylib')
}
from {
project(':jfgdb').jar
}
}
}
}
// we must have the binaries compiled for the java wrapper
tasks.getByPath(':jfgdb:compileJava').dependsOn(tasks.getByPath(":nativewrapper:build"))