first commit
This commit is contained in:
57
easyPhotos/build.gradle
Normal file
57
easyPhotos/build.gradle
Normal file
@@ -0,0 +1,57 @@
|
||||
//apply plugin: 'com.android.library'
|
||||
//apply plugin: 'com.github.dcendents.android-maven'
|
||||
//group = 'com.github.HuanTanSheng'
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 33
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 33
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
namespace 'com.huantansheng.easyphotos'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.appcompat:appcompat:1.7.0'
|
||||
implementation 'com.google.android.material:material:1.10.0'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.3.1'
|
||||
implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'
|
||||
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
||||
}
|
||||
//
|
||||
//// 指定编码
|
||||
//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
|
||||
// source = android.sourceSets.main.java.sourceFiles
|
||||
// classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
|
||||
// classpath += configurations.compile
|
||||
//}
|
||||
|
||||
// 打包文档
|
||||
//task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
// classifier = 'javadoc'
|
||||
// from javadoc.destinationDir
|
||||
//}
|
||||
|
||||
//artifacts {
|
||||
// archives sourcesJar
|
||||
//// archives javadocJar
|
||||
//}
|
||||
Reference in New Issue
Block a user