forked from reteno-com/reteno-mobile-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.45 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'config.gradle'
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3"
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.1.1'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.google.gms:google-services:4.3.14'
// For Firebase Cloud Messaging.
classpath 'com.google.gms:google-services:4.3.14'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21"
}
}
plugins {
id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.4.2' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
// https://github.com/radarsh/gradle-test-logger-plugin
id 'com.adarshr.test-logger' version '3.2.0'
}
subprojects { apply plugin: 'com.adarshr.test-logger' }
apply from: 'config.gradle'
apply plugin: "com.vanniktech.maven.publish"
tasks.register('printVersionName') {
doLast {
println versionName
}
}
task testDebugAll(type: GradleBuild) {
tasks = ['clean',
'RetenoSdkCore:testDebugUnitTest',
'RetenoSdkFcm:testDebugUnitTest',
'RetenoSdkPush:testDebugUnitTest']
group = 'custom_tasks'
description = "Run all UnitTests"
}