-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (34 loc) · 791 Bytes
/
build.gradle
File metadata and controls
41 lines (34 loc) · 791 Bytes
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
buildscript {
repositories {
maven { url 'https://nexus.web.cern.ch/nexus/content/repositories/public/' }
jcenter()
}
}
group = 'org.bitbucket.vahidi'
version = '111'
allprojects {
repositories {
maven { url 'https://nexus.web.cern.ch/nexus/content/repositories/public/' }
jcenter()
}
apply plugin: 'maven-publish'
apply plugin: 'java'
}
sourceSets {
main.java.srcDirs = ['src']
test.java.srcDirs = ['test']
}
dependencies {
testImplementation 'junit:junit:4.12'
}
task sourcesJar(type: Jar, dependsOn: classes) {
archiveClassifier.set('sources')
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier.set('javadoc')
from javadoc.destinationDir
}
artifacts {
archives javadocJar, sourcesJar
}