-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
46 lines (36 loc) · 1 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
buildscript {
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/groups/public" }
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.github.townsfolk:gradle-release:1.2'
classpath 'com.github.dcendents:android-maven-plugin:1.0'
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.7.0'
}
}
allprojects {
repositories {
mavenCentral()
}
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'license'
sourceCompatibility = 1.6
targetCompatibility = 1.6
group = 'fr.dvilleneuve.android'
version = '1.3-SNAPSHOT'
license {
header rootProject.file('LICENSE.txt')
strictCheck true
}
signing {
sign configurations.archives
}
signArchives.onlyIf { project.hasProperty('signing.keyId') }
}
if (!project.hasProperty('sonatypeUsername')) {
ext.sonatypeUsername = "---"
ext.sonatypePassword = "---"
}