forked from japgolly/svg-android
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
43 lines (34 loc) · 834 Bytes
/
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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
group = 'com.github.bigfishcat.android'
archivesBaseName = "svg-android"
version = '2.0.8'
description = """svg-android"""
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
compile(group: 'com.google.android', name: 'android', version:'2.1_r1')
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('out'))
}
}
}