-
-
Notifications
You must be signed in to change notification settings - Fork 156
/
build.gradle
67 lines (54 loc) · 2.24 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
apply plugin: 'com.android.library'
// start - do not modify this if your project is on github
project.ext {
mavDevelopers = [(github_username): (maintainer)]
mavSiteUrl = "https://github.com/${github_username}/${github_repository_name}"
mavGitUrl = mavSiteUrl + '.git'
bugTrackerUrl = mavSiteUrl + '/issues/'
mavProjectName = "speech"
mavLibraryLicenses = ["Apache-2.0": 'http://www.apache.org/licenses/LICENSE-2.0.txt']
mavLibraryDescription = "Android speech recognition and text to speech made easy"
mavVersion = library_version
}
// end - do not modify this if your project is on github
group = library_project_group
version = library_version
android {
compileSdkVersion target_sdk
defaultConfig {
minSdkVersion min_sdk
targetSdkVersion target_sdk
versionCode version_code
versionName library_version
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
warning 'InvalidPackage'
}
}
dependencies {
// Testing - https://developer.android.com/training/testing/set-up-project
testImplementation "junit:junit:$junit_version"
// Core library
androidTestImplementation "androidx.test:core:$androidx_test_core_version"
// AndroidJUnitRunner and JUnit Rules
androidTestImplementation "androidx.test:runner:$androidx_test_runner_version"
androidTestImplementation "androidx.test:rules:$androidx_test_rules_version"
// Assertions
androidTestImplementation "androidx.test.ext:junit:$androidx_test_ext_junit_version"
androidTestImplementation "androidx.test.ext:truth:$androidx_test_ext_truth_version"
androidTestImplementation "com.google.truth:truth:$truth_version"
// Espresso dependencies
androidTestImplementation "androidx.test.espresso:espresso-core:$androidx_test_espresso_version"
}
apply from: 'https://raw.githubusercontent.com/sky-uk/gradle-maven-plugin/master/gradle-mavenizer.gradle'