-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.gradle
85 lines (72 loc) · 1.91 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
buildscript {
repositories {
jcenter()
mavenCentral()
}
}
plugins {
id 'com.gradle.plugin-publish' version '0.10.1'
id 'groovy'
id 'maven'
id 'signing'
id 'jacoco'
id 'java-gradle-plugin'
id 'com.github.ben-manes.versions' version '0.27.0'
}
apply from: 'mvn-push.gradle'
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation gradleApi()
implementation 'org.codehaus.groovy:groovy:2.5.9'
implementation 'org.marketcetera.fork:commons-csv:3.2.0'
implementation 'org.apache.poi:poi-ooxml-schemas:4.1.1'
implementation 'org.apache.poi:poi-ooxml:4.1.1'
implementation 'org.apache.poi:poi:4.1.1'
implementation 'org.apache.poi:ooxml-schemas:1.4'
testImplementation 'junit:junit:4.13'
testImplementation 'org.assertj:assertj-core:3.15.0'
testImplementation 'org.xmlunit:xmlunit-core:2.6.3'
}
group = GROUP
version = VERSION_NAME
pluginBundle {
website = POM_URL
vcsUrl = POM_SCM_URL
description = POM_DESCRIPTION
tags = ['localization', 'android']
plugins {
localization {
displayName = POM_NAME
description = POM_DESCRIPTION
}
}
}
gradlePlugin {
plugins {
localization {
id = 'pl.droidsonroids.localization'
implementationClass = 'pl.droidsonroids.gradle.localization.LocalizationPlugin'
}
}
}
jacoco {
toolVersion = '0.8.4'
}
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'
}