-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
115 lines (103 loc) · 3.04 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
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
113
114
115
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'code-quality'
apply plugin: 'maven'
apply plugin: 'signing'
group = 'eu.appsatori'
projectName = 'pipes'
version = '0.6.4-SNAPSHOT'
def compatibilityVersion = 1.6
sourceCompatibility = compatibilityVersion
targetCompatibility = compatibilityVersion
repositories {
mavenCentral()
}
dependencies {
def gaeVersion = '1.6.4'
groovy 'org.codehaus.groovy:groovy-all:1.8.5'
compile "com.google.appengine:appengine-api-1.0-sdk:$gaeVersion"
compile "com.google.appengine:appengine-api-labs:$gaeVersion"
compile 'javax.servlet:servlet-api:2.5'
testCompile 'org.spockframework:spock-core:0.5-groovy-1.8', {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
testCompile "com.google.appengine:appengine-api-stubs:$gaeVersion"
testCompile "com.google.appengine:appengine-testing:$gaeVersion"
}
task javadocJar(type: Jar, dependsOn: javadoc) {
from "${project.docsDir}/javadoc"
classifier = 'javadoc'
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives jar
archives javadocJar
archives sourcesJar
}
//
//signing {
// sign configurations.archives
//}
//
//uploadArchives {
// repositories {
// mavenDeployer {
// beforeDeployment { MavenDeployment deployment -> signPom(deployment) }
//
// def auth = {
// authentication(userName: sonatypeUsername, password: sonatypePassword)
// }
//
// repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/", auth)
// snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots", auth)
//
// pom.project {
// name 'AppSatori Pipes'
// packaging 'jar'
// description 'AppSatori Pipes is framework for easier concurrent background processing on Google App Engine Java environment'
// url 'https://github.com/musketyr/appsatori-pipes'
//
// scm {
// url 'scm:[email protected]:musketyr/appsatori-pipes.git'
// connection 'scm:[email protected]:musketyr/appsatori-pipes.git'
// developerConnection 'scm:[email protected]:musketyr/appsatori-pipes.git'
// }
//
// 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 'vladimirorany'
// name 'Vladimir Orany'
// }
// }
// }
//
// //mess with the generated pom to set the 'packaging' tag
// pom.withXml { XmlProvider xmlProvider ->
// def xml = xmlProvider.asString()
// def pomXml = new XmlParser().parse(new ByteArrayInputStream(xml.toString().bytes))
//
// pomXml.version[0] + { packaging('jar') }
//
// def newXml = new StringWriter()
// def printer = new XmlNodePrinter(new PrintWriter(newXml))
// printer.preserveWhitespace = true
// printer.print(pomXml)
// xml.setLength(0)
// xml.append(newXml.toString())
// }
// }
// }
//}
//