123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- apply plugin: 'com.android.library'
- apply plugin: 'com.github.dcendents.android-maven'
- apply plugin: 'org.jetbrains.dokka'
- ext {
- bintrayRepo = 'maven'
- bintrayName = 'ussd-library'
- publishedGroupId = 'com.romellfudi.ussdlibrary'
- libraryName = 'VoIpUSSD'
- artifact = 'ussd-library'
- libraryDescription = 'Android library To comunicate with ussd display'
- siteUrl = 'https://romellfudi.github.io/VoIpUSSDSample'
- gitUrl = 'https://romellfudi.github.io/VoIpUSSDSample.git'
- libraryVersion = '1.4.a'
- developerId = 'romellfudi'
- developerName = 'Romell Dominguez'
- developerEmail = '[email protected]'
- licenseName = 'The Apache Software License, Version 2.0'
- licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- allLicenses = ["Apache-2.0"]
- }
- android {
- compileSdkVersion 31
- buildToolsVersion "30.0.2"
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 31
- versionCode 1
- versionName libraryVersion
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- testOptions{
- unitTests.returnDefaultValues = true
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- tasks.dokkaHtml.configure {
- outputDirectory.set(file("../documentation"))
- }
- tasks.dokkaJavadoc.configure {
- outputDirectory.set(file("../documentation/javadoc"))
- }
- tasks.dokkaGfm.configure {
- outputDirectory.set(file("../documentation/gfm"))
- }
- tasks.withType(dokkaHtml.getClass()).configureEach {
- pluginsMapConfiguration.set(
- ["org.jetbrains.dokka.base.DokkaBase": """{ "separateInheritedMembers": true}"""]
- )
- }
- //dokkaHtml.configure {
- // dokkaSourceSets {
- // named("app") {
- // skipDeprecated.set(true)
- // }
- // }
- //}
- dependencies {
- implementation 'com.android.support:appcompat-v7:30.0.0'
- testImplementation 'junit:junit:4.12'
- testImplementation 'org.mockito:mockito-all:1.10.19'
- testImplementation 'org.powermock:powermock-module-junit4:1.6.2'
- testImplementation 'org.powermock:powermock-api-mockito:1.6.2'
- implementation 'com.orhanobut:logger:2.2.0'
- implementation 'com.google.code.gson:gson:2.10.1'
- api 'com.elvishew:xlog:1.11.0'
- api 'com.blankj:utilcodex:1.30.6'
- }
- //apply from: 'https://raw.githubusercontent.com/romellfudi/assets/bintray/artifactory_bintray.gradle'
- //apply from: 'https://raw.githubusercontent.com/romellfudi/assets/bintray/artifactory_install.gradle'
|