-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
38 lines (33 loc) · 918 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
githubProjectName = 'rosette'
versions = [
findbugs: '2.0.0',
android: '0.5.0'
]
}
allprojects { project ->
buildscript {
repositories {
mavenCentral()
}
}
repositories {
mavenCentral()
}
}
subprojects {
task configureDebug << { jar.classifier = "debug" }
task configureRelease << { proguard.enabled = true }
afterEvaluate { project ->
task sourcesJar(type: Jar, dependsOn: assemble) {
description '''Creates a *-sources.jar file from Android SourceSets'''
from android.sourceSets*.allSource
classifier 'sources'
extension 'jar'
}
}
}
task createWrapper(type: Wrapper) {
gradleVersion = '1.6'
}