forked from bedatadriven/renjin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (59 loc) · 1.78 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
// 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:7.4.0"
}
}
// 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()
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"
if(System.getenv("BUILD_NUMBER")) {
ext.buildNumber = System.getenv("BUILD_NUMBER")
} else {
ext.buildNumber = "dev"
}
allprojects {
project.version = "${majorVersion}-beta${buildNumber}"
}
// 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
}