You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.6 KiB
Groovy

apply plugin: 'com.android.library'
android {
compileSdk 35
defaultConfig {
minSdk 24
targetSdk 35
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
namespace 'com.bin.david.form'
}
//
//apply plugin: 'com.android.library'
//apply plugin: 'com.github.dcendents.android-maven'
//
//group='com.github.huangyanbin'
//
//android {
// compileSdkVersion 25
// buildToolsVersion '26.0.2'
//
//
// defaultConfig {
// minSdkVersion 15
// targetSdkVersion 25
// versionCode 1
// versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
//
// }
// buildTypes {
// release {
// minifyEnabled false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
// }
//}
//
//
//
//tasks.withType(JavaCompile) {
// options.encoding = "UTF-8"
//}
//
//// 打包源码
//task sourcesJar(type: Jar) {
// from android.sourceSets.main.java.srcDirs
// classifier = 'sources'
//}
//
//task javadoc(type: Javadoc) {
// failOnError false
// javadoc.options.encoding = "UTF-8"
// source = android.sourceSets.main.java.sourceFiles
// classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
// classpath += configurations.compile
//}
//
//// 制作文档(Javadoc)
//task javadocJar(type: Jar, dependsOn: javadoc) {
// classifier = 'javadoc'
// from javadoc.destinationDir
//}
//
//artifacts {
// archives sourcesJar
// archives javadocJar
//}
//
//dependencies {
//}