forked from syncany/syncany
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (38 loc) · 1.66 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
//
// Build script for Syncany
//
apply from: 'gradle/gradle/helpers.gradle'
// Global Settings /////////////////////////////////////////////////////////////
project.ext {
applicationVersion = "0.4.6-alpha"
applicationVersionDebian = "1";
applicationRelease = isApplicationRelease()
applicationDate = new Date()
applicationRevision = getRevision()
applicationVersionSnapshot = (!applicationRelease) ? "+SNAPSHOT.${asUTC(applicationDate, 'yyMMddHHmm')}.git${applicationRevision}" : ""
applicationVersionFull = "${applicationVersion}${applicationVersionSnapshot}"
}
// Gradle scripts and tasks ////////////////////////////////////////////////////
apply from: 'gradle/gradle/application.java.gradle'
apply from: 'gradle/gradle/application.distribution.gradle'
apply from: 'gradle/gradle/packaging.innosetup.gradle'
apply from: 'gradle/gradle/packaging.debian.gradle'
apply from: 'gradle/gradle/reports.coverage.gradle'
apply from: 'gradle/gradle/reports.tests.gradle'
apply from: 'gradle/gradle/reports.javadoc.gradle'
apply from: 'gradle/gradle/reports.sonarqube.gradle'
apply from: 'gradle/gradle/development.eclipse.gradle'
apply from: 'gradle/gradle/development.fakeinstall.gradle'
apply from: 'gradle/gradle/development.misc.gradle'
// Projects settings //////////////////////////////////////////////////////////
repositories {
mavenCentral()
}
dependencies {
compile project(":syncany-lib")
compile project(":syncany-cli")
compile project(":syncany-util")
testCompile project(path: ":syncany-lib", configuration: "tests")
testCompile project(path: ":syncany-cli", configuration: "tests")
testCompile project(path: ":syncany-util", configuration: "tests")
}