-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
67 lines (54 loc) · 1.63 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.google.cloud.tools:appengine-gradle-plugin:2.4.3'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: "com.google.cloud.tools.appengine"
apply plugin: 'maven-publish'
repositories {
jcenter()
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
classifier "sources"
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
String appengineVersion = "1.9.30"
dependencies {
compile "commons-codec:commons-codec:1.6"
providedCompile "javax.servlet:javax.servlet-api:3.0.1"
implementation "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 "${System.getProperty("mavenUrl")}"
}
}
publications {
mavenJava(MavenPublication) {
groupId 'com.universeprojects'
artifactId 'cached-datastore'
//noinspection GroovyAssignabilityCheck
version '1.0-SNAPSHOT'
from components.java
artifact sourceJar
}
}
}