forked from Emperorlou/Cached-Datastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (51 loc) · 1.54 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.google.appengine:gradle-appengine-plugin:1.9.21'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: "appengine"
apply plugin: 'maven-publish'
repositories {
jcenter()
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
classifier "sources"
}
String appengineVersion = "1.9.30"
dependencies {
providedCompile "javax.servlet:javax.servlet-api:3.0.1"
appengineSdk "com.google.appengine:appengine-java-sdk:${appengineVersion}"
providedCompile "com.google.appengine:appengine-api-stubs:${appengineVersion}"
providedCompile "com.google.appengine:appengine-api-1.0-sdk:${appengineVersion}"
providedCompile "com.google.appengine:appengine-remote-api:${appengineVersion}"
testCompile "com.google.appengine:appengine-testing:${appengineVersion}"
}
publishing {
repositories {
maven {
credentials {
username = "${System.getProperty("mavenUser")}"
password = "${System.getProperty("mavenPassword")}"
}
url "http://dev.universeprojects.com/archiva/repository/snapshots/"
}
}
publications {
mavenJava(MavenPublication) {
groupId 'com.universeprojects'
artifactId 'cached-datastore'
//noinspection GroovyAssignabilityCheck
version '1.0-SNAPSHOT'
from components.java
artifact sourceJar
}
}
}