31 行
793 B
Plaintext
31 行
793 B
Plaintext
|
|
plugins {
|
||
|
|
alias(libs.plugins.android.library)
|
||
|
|
}
|
||
|
|
|
||
|
|
apply(from = rootProject.file("gradle/publish.gradle"))
|
||
|
|
|
||
|
|
version = providers.gradleProperty("SDK_FILE_VERSION")
|
||
|
|
.orElse(providers.gradleProperty("PUBLISH_VERSION"))
|
||
|
|
.getOrElse("0.1.0-SNAPSHOT")
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = "com.xuqm.sdk.file.platform"
|
||
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
||
|
|
defaultConfig {
|
||
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
||
|
|
consumerProguardFiles("consumer-rules.pro")
|
||
|
|
}
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
publishing {
|
||
|
|
singleVariant("release") { withSourcesJar() }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
api(project(":sdk-core"))
|
||
|
|
testImplementation(libs.junit4)
|
||
|
|
}
|