-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (38 loc) · 831 Bytes
/
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
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'maven'
dependencies {
compile gradleApi()
compile localGroovy()
// compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.github.javaparser:javaparser-core:2.4.0'
compile 'org.ow2.asm:asm-all:5.1'
}
repositories {
// mavenCentral()
maven {
url project.MAVEN_URL
}
}
task groovydocJar(type: Jar, dependsOn: groovydoc) {
classifier = 'javadoc'
from 'build/docs/groovydoc'
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives jar
archives groovydocJar
archives sourcesJar
}
group='cn.hugoz.amc.plugin'
version='1.0.0'
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('../repo'))
}
}
}