-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
73 lines (62 loc) · 1.59 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
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3'
}
}
apply plugin: 'groovy'
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'idea'
dependencies {
repositories {
mavenCentral()
}
compile gradleApi()
compile localGroovy()
compile 'com.android.tools.build:gradle:1.1.0-rc3'
compileOnly 'com.google.googlejavaformat:google-java-format:1.5'
compile 'com.googlecode.java-diff-utils:diffutils:1.2.1'
compile 'com.google.guava:guava:19.0'
}
group = 'com.f2prateek.javafmt'
version = '0.1.7-SNAPSHOT'
install {
repositories.mavenInstaller {
pom.artifactId = 'javafmt'
}
}
uploadArchives {
repositories.mavenDeployer {
pom.artifactId = 'javafmt'
}
}
modifyPom {
project {
name 'Android Java Format Plugin'
description 'Sets up Google Java Format for Gradle-based Android projects.'
url 'https://github.com/f2prateek/gradle-android-javafmt-plugin'
inceptionYear '2015'
scm {
url 'https://github.com/f2prateek/gradle-android-javafmt-plugin'
connection 'scm:git:git://github.com/f2prateek/gradle-android-javafmt-plugin.git'
developerConnection 'scm:git:ssh://[email protected]/f2prateek/gradle-android-javafmt-plugin.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 'f2prateek'
name 'Prateek Srivastava'
email '[email protected]'
}
}
}
}