40 lines
977 B
Groovy
40 lines
977 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
//apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'maven-publish'
|
|
android {
|
|
namespace 'com.tencent.qgame.animplayer'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
minSdkVersion 24
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50") {
|
|
exclude module: 'annotations'
|
|
}
|
|
}
|
|
|
|
// jcenter 上传(这个要在底部)
|
|
// 上传需要执行此任务 IDE -> gradle-> Tasks/publishing/bintrayUpload
|
|
// apply from: file("publish.gradle")
|
|
|
|
|
|
// maven central
|
|
// 上传指令./gradlew uploadArchives
|
|
// https://s01.oss.sonatype.org/
|
|
// Staging Repositories -> close -> release
|
|
// apply from: "../publish-mavencentral.gradle"
|