-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
85 lines (66 loc) · 1.53 KB
/
build.gradle
File metadata and controls
85 lines (66 loc) · 1.53 KB
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
84
85
/* Gradle script for build of FIDATA Website
Copyright (C) 2014 Basil Peace
This file is part of code for generation of FIDATA Website.
This work is licensed under the Creative Commons
Attribution-ShareAlike 3.0 Unported License. A copy of this license
is located in LICENSE.code.txt. If you haven't received that file,
visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter
to Creative Commons, 444 Castro Street, Suite 900, Mountain View,
California, 94041, USA. */
buildscript {
repositories {
jcenter()
maven {
url "http://artifactory.fidata.org/plugins-release"
}
}
dependencies {
classpath(
group: 'org.jfrog.buildinfo',
name: 'build-info-extractor-gradle',
version: '2.2.3'
)
}
}
apply plugin: 'artifactory-publish'
// Project info
group = 'FIDATA'
version = '0.1-SNAPSHOT'
// buildInfo.build.name = ''
// buildInfo.build.number = ''
task wrapper(type: Wrapper) {
gradleVersion = '4.2'
}
// Sources
// sourceSets {
// main { resources { srcDir 'src/site/**' } }
// }
// Tasks
// def stagingDir = buildDir
configurations {
compile
}
dependencies {
}
artifactory {
contextUrl = "http://artifactory.fidata.org"
resolve {
repository {
repoKey = 'libs-snapshot'
maven = true
}
}
}
defaultTasks 'all'
task explodeDeps {
}
ant.condition(property: 'python', value: 'python3', else: 'python') { os(family: "unix") }
task pythonBuild(type: Exec) {
commandLine ant.properties.python, 'build.py'
}
task build {
dependsOn pythonBuild
}
task all {
dependsOn build
}