forked from square/wire-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (48 loc) · 1.03 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
apply plugin: 'groovy'
apply plugin: 'maven'
group = GROUP
version = VERSION_NAME
dependencies {
compile gradleApi()
compile localGroovy()
compile 'com.android.tools.build:gradle:1.2.3'
compile 'com.squareup.wire:wire-compiler:1.8.0'
}
repositories {
mavenCentral()
}
artifacts {
archives jar
}
def installer = install.repositories.mavenInstaller()
def deployer = uploadArchives.repositories.mavenDeployer()
[installer, deployer]*.pom*.whenConfigured { pom ->
pom.project {
name POM_NAME
description POM_DESCRIPTION
packaging POM_PACKAGING
url POM_URL
developers {
developer {
id POM_DEVELOPER_ID
name POM_DEVELOPER_NAME
}
}
issueManagement {
system POM_ISSUES_SYSTEM
url POM_ISSUES_URL
}
licenses {
license {
name POM_LICENSE_NAME
url POM_LICENSE_URL
distribution POM_LICENSE_DIST
}
}
scm {
url POM_SCM_URL
connection POM_SCM_CONNECTION
developerConnection POM_SCM_DEV_CONNECTION
}
}
}