1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- 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 = 'romllz489@gmail.com'
- 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 29
- 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'
- }
- //apply from: 'https://raw.githubusercontent.com/romellfudi/assets/bintray/artifactory_bintray.gradle'
- //apply from: 'https://raw.githubusercontent.com/romellfudi/assets/bintray/artifactory_install.gradle'
|