| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- id 'maven-publish'
- }
- ext {
- GROUP_ID = 'com.wenext.android'
- ARTIFACT_ID = 'frame-network'
- VERSION = '6.1.4'
- }
- if (project.FRAME_DEBUG != "true") {
- apply from: "../../publish.gradle"
- }
- android {
- namespace 'com.adealink.frame.network'
- compileSdk libs.versions.compileSdk.get().toInteger()
- defaultConfig {
- minSdk libs.versions.minSdk.get().toInteger()
- targetSdk libs.versions.targetSdk.get().toInteger()
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- coreLibraryDesugaringEnabled true
- }
- kotlinOptions {
- jvmTarget = JavaVersion.VERSION_17.majorVersion
- }
- }
- dependencies {
- //kotlin
- implementation libs.kotlin.stdlib
- coreLibraryDesugaring libs.desugar.jdk.libs
- //androidx
- implementation libs.androidx.core.ktx
- implementation libs.androidx.appcompat
- //network
- api libs.okhttp
- implementation libs.conscrypt
- //frame
- // api platform(libs.frame.bom)
- // api libs.frame.retrofit
- // api libs.frame.zero
- // api libs.frame.base
- // api libs.frame.data
- // api libs.frame.coroutine
- // api libs.frame.util
- // api libs.frame.statistics
- // api libs.frame.storage
- compileOnly project(":external:retrofit")
- compileOnly project(":frame:zero")
- compileOnly project(":frame:base")
- compileOnly project(":frame:data")
- compileOnly project(":frame:coroutine")
- compileOnly project(":frame:util")
- compileOnly project(":frame:statistics")
- compileOnly project(":frame:storage")
- //test
- testImplementation libs.junit
- androidTestImplementation libs.androidx.junit
- androidTestImplementation libs.androidx.espresso.core
- }
|