forked from S1eth/java7-fs-dropbox
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
112 lines (98 loc) · 3.31 KB
/
Copy pathbuild.gradle
File metadata and controls
112 lines (98 loc) · 3.31 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
* Copyright (c) 2014, Francis Galiegue (fgaliegue@gmail.com)
*
* This software is dual-licensed under:
*
* - the Lesser General Public License (LGPL) version 3.0 or, at your option, any
* later version;
* - the Apache Software License (ASL) version 2.0.
*
* The text of this file and of both licenses is available at the root of this
* project or, if you have the jar distribution, in directory META-INF/, under
* the names LGPL-3.0.txt and ASL-2.0.txt respectively.
*
* Direct link to the sources:
*
* - LGPL 3.0: https://www.gnu.org/licenses/lgpl-3.0.txt
* - ASL 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
*/
buildscript {
repositories {
maven {
url "https://repo.spring.io/plugins-snapshot"
mavenCentral()
}
}
dependencies {
classpath(group: "org.springframework.build.gradle",
name: "propdeps-plugin", version: "0.0.7-SNAPSHOT")
classpath(group: "info.solidsoft.gradle.pitest",
name: "gradle-pitest-plugin", version: "1.1.1")
}
}
apply(plugin: "java")
apply(plugin: "idea")
apply(plugin: "eclipse")
apply(plugin: "propdeps")
apply(plugin: "maven-publish")
apply(plugin: "propdeps-idea")
apply(plugin: "propdeps-eclipse")
apply(plugin: "info.solidsoft.pitest")
group = "com.github.fge"
version = "0.1.0"
description = "FileSystem implementation over DropBox"
sourceCompatibility = "11"
targetCompatibility = "11" // defaults to sourceCompatibility
/*
* Repositories to use
*/
repositories {
mavenCentral()
mavenLocal()
}
/*
* List of dependencies
*/
dependencies {
implementation files('libs/java7-fs-base-0.0.3.jar')
implementation("biz.aQute.bnd.builder:biz.aQute.bnd.builder.gradle.plugin:7.0.0")
implementation(group: "com.dropbox.core", name: "dropbox-core-sdk", version: "7.0.0")
implementation(group: "org.apache.httpcomponents", name: "httpclient", version: "4.5.14")
implementation(group: "org.apache.httpcomponents", name: "httpcore", version: "4.4.16")
implementation(group: "org.json", name: "json", version: "20240303")
provided(group: "com.google.code.findbugs", name: "jsr305", version: "3.0.2")
testImplementation(group: "org.testng", name: "testng", version: "6.8.8") {
exclude(group: "junit", module: "junit")
exclude(group: "org.beanshell", module: "bsh")
exclude(group: "org.yaml", module: "snakeyaml")
}
testImplementation(group: "org.mockito", name: "mockito-core", version: "5.12.0")
testImplementation(group: "org.assertj", name: "assertj-core", version: "3.26.3")
testImplementation(group: "com.github.marschall", name: "memoryfilesystem", version: "2.8.0")
}
javadoc.options.links("http://docs.oracle.com/javase/7/docs/api/")
javadoc.options.links("http://jsr-305.googlecode.com/svn/trunk/javadoc/")
javadoc.options.links("http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/")
/*
* Necessary! Otherwise TestNG will not be used...
*/
test {
useTestNG() {
useDefaultListeners = true
}
}
pitest {
pitestVersion = "1.1.2" // see https://github.com/hcoles/pitest/issues/150
}
artifacts {
archives jar
}
wrapper {
gradleVersion = "6.9.4"
distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}
task pom {
doLast{
pom {}.writeTo("${projectDir}/pom.xml")
}
}