-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
61 lines (50 loc) · 1.38 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
53
54
55
56
57
58
59
60
61
buildscript {
repositories {
jcenter()
}
}
group 'io.github.psyanite'
version '0.2.6'
description 'Parser for SCORM 1.2 packages'
apply plugin: 'maven-publish'
apply plugin: 'scala'
apply plugin: 'idea'
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.scala-lang', name: 'scala-library', version: '2.12.3'
compile group: 'org.scala-lang.modules', name: 'scala-xml_2.12', version: '1.0.6'
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'net.lingala.zip4j', name: 'zip4j', version: '1.3.2'
testCompile group: 'org.scalatest', name: 'scalatest_2.12', version: '3.0.4'
testRuntime 'org.pegdown:pegdown:1.4.2'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
def pomConfig = {
licenses {
license {
name "The Apache Software License, Version 2.0"
url "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution "repo"
}
}
developers {
developer {
id "psyanite"
name "psyanite"
email "psyanite@gmail.com"
}
}
}