forked from koral--/android-gradle-localization-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
91 lines (78 loc) · 1.92 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
buildscript {
repositories {
jcenter()
mavenCentral()
}
}
plugins {
id 'com.gradle.plugin-publish' version '0.9.7'
id 'com.jfrog.bintray' version '1.7.3'
id 'groovy'
id 'maven'
id 'signing'
id 'jacoco'
}
apply from: 'mvn-push.gradle'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile gradleApi()
compile 'org.codehaus.groovy:groovy:2.4.8'
compile 'org.marketcetera.fork:commons-csv:2.4.2'
compile 'org.apache.poi:poi-ooxml-schemas:3.15'
compile 'org.apache.poi:poi-ooxml:3.15'
compile 'org.apache.poi:poi:3.15'
compile 'org.apache.poi:ooxml-schemas:1.3'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.6.2'
testCompile 'org.xmlunit:xmlunit-core:2.3.0'
}
group = GROUP
version = VERSION_NAME
bintray {
user = POM_DEVELOPER_ID
key = BINTRAY_API_KEY
publish = true
pkg {
repo = 'maven'
name = POM_ARTIFACT_ID
version {
name = VERSION_NAME
released = new Date()
vcsTag = "v$version"
}
}
}
pluginBundle {
website = POM_URL
vcsUrl = POM_SCM_URL
description = POM_DESCRIPTION
tags = ['localization', 'android']
plugins {
localizationPlugin {
id = 'pl.droidsonroids.localization'
displayName = POM_NAME
description = POM_DESCRIPTION
}
}
}
jacoco {
toolVersion = '0.7.8'
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_7
uploadArchives.dependsOn check
task copyTestResources(type: Copy) {
from "${projectDir}/src/test/resources"
into "${buildDir}/classes/test"
group = 'verification'
description = 'To be used in Android Studio, workaround for https://code.google.com/p/android/issues/detail?id=64887'
}