-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (58 loc) · 1.17 KB
/
build.gradle
File metadata and controls
72 lines (58 loc) · 1.17 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
group 'FrameRecorder'
version '0.2.0'
apply plugin: 'java'
defaultTasks 'clean', 'build', 'generateDoc'
sourceCompatibility = 1.8
rootProject.version=''
buildDir='library'
libsDirName='./'
docsDirName='../reference'
/*
javadoc {
options.charSet = 'UTF-8'
options.encoding = 'UTF-8'
}
*/
repositories {
mavenCentral()
}
configurations {
provided
}
sourceSets {
main {
compileClasspath += configurations.provided
}
}
dependencies {
provided group: 'org.processing', name: 'core', version: '3.3.7'
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
task generateDoc(type: Javadoc) {
source = sourceSets.main.allJava
classpath = project.sourceSets.main.compileClasspath
options.charSet = 'UTF-8'
options.encoding = 'UTF-8'
}
task zipDistribution(type: Zip) {
dependsOn(jar)
dependsOn(generateDoc)
from '.'
excludes = [
'.*',
'bin',
'build.gradle',
'gradle',
'gradlew',
'gradlew*.*',
'settings.gradle'
]
destinationDirectory = file('..')
archiveVersion = '0.2.0'
archiveFileName =
'FrameRecorder-' + archiveVersion.get() + '.zip'
into('FrameRecorder')
}
artifacts {
archives zipDistribution
}