12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- apply plugin: "com.android.library"
- apply plugin: "kotlin-android"
- apply plugin: "kotlin-kapt"
- apply plugin: 'org.jetbrains.dokka'
- apply plugin: "com.github.dcendents.android-maven"
- group = "com.github.liangjingkanji"
- android {
- compileSdkVersion 30
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
- }
- }
- kotlinOptions {
- freeCompilerArgs = ["-Xinline-classes", "-Xallow-result-return-type"]
- }
- dokkaHtml {
- outputDirectory.set(file("$rootDir/docs/api"))
- suppressInheritedMembers.set(true)
- moduleName.set("Net")
- }
- }
- dependencies
- api
- implementation
- implementation
- testImplementation
- androidTestImplementation
- androidTestImplementation
- implementation
- compileOnly
- compileOnly
- compileOnly
- compileOnly
- }
|