-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathbuild.gradle
83 lines (63 loc) · 1.9 KB
/
build.gradle
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Renjin Root project
// The settings here are inherited by all subprojects
// Declare the dependencies of the gradle build scripts
// themselves.
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://nexus.bedatadriven.com/content/groups/public" }
}
dependencies {
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0"
classpath "org.owasp:dependency-check-gradle:4.0.2"
classpath "com.netflix.nebula:gradle-ospackage-plugin:8.4.1"
}
}
// For resolving actual project dependencies, use only our local maven repo and BeDataDriven's nexus repository,
// which proxies maven central as well as other upstream repositories.
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://nexus.bedatadriven.com/content/groups/public"
}
}
}
ext {
gccBridgePlugin = "$projectDir/tools/gcc-bridge/compiler/build/bridge.so"
gnuHomeDir = rootProject.file('tools/gnur-installation/src/main/resources')
}
allprojects {
group = 'org.renjin'
version = '3.5'
}
subprojects {
configurations.all {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
}
ext.majorVersion = "3.5"
def renjinVersion;
if(System.getenv("RENJIN_RELEASE")) {
renjinVersion = System.getenv("RENJIN_RELEASE")
} else if(System.getenv("BUILD_NUMBER")) {
renjinVersion = "3.5-beta${System.getenv("BUILD_NUMBER")}"
} else {
renjinVersion = "3.5-dev"
}
allprojects {
project.version = renjinVersion
}
// Define common configuration properties and
// apply cross-project processes.
apply from: "./gradle/libraries.gradle"
apply from: "./gradle/java.gradle"
apply from: "./gradle/upstream.gradle"
// Defines the version based on our major version and the environment
subprojects {
task cleanMaven(type: Delete) {
delete 'target'
}
clean.dependsOn cleanMaven
}