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.
64 lines
1.8 KiB
Groovy
64 lines
1.8 KiB
Groovy
|
1 year ago
|
apply plugin: 'com.android.library'
|
||
|
|
|
||
|
|
android {
|
||
|
|
compileSdk 34
|
||
|
|
defaultConfig {
|
||
|
|
minSdk 24
|
||
|
|
targetSdk 34
|
||
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
|
}
|
||
|
|
namespace 'com.haibin.calendarview'
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
//
|
||
|
|
//android {
|
||
|
|
// compileSdkVersion 28
|
||
|
|
//
|
||
|
|
// defaultConfig {
|
||
|
|
// minSdkVersion 14
|
||
|
|
// //noinspection OldTargetApi
|
||
|
|
// targetSdkVersion 28
|
||
|
|
// versionCode 371
|
||
|
|
// versionName "3.7.1"
|
||
|
|
// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
//
|
||
|
|
// }
|
||
|
|
// buildTypes {
|
||
|
|
// release {
|
||
|
|
// minifyEnabled false
|
||
|
|
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
|
// }
|
||
|
|
// }
|
||
|
|
// android {
|
||
|
|
// lintOptions {
|
||
|
|
// abortOnError false
|
||
|
|
// }
|
||
|
|
// }
|
||
|
|
// task intoJar(type: Copy) {
|
||
|
|
// delete 'build/libs/CalendarView.jar'
|
||
|
|
// from('build/intermediates/bundles/release/')
|
||
|
|
// into('build/libs/')
|
||
|
|
// include('classes.jar')
|
||
|
|
// rename ('classes.jar', 'CalendarView.jar')
|
||
|
|
// }
|
||
|
|
// intoJar.dependsOn(build)
|
||
|
|
//}
|
||
|
|
//
|
||
|
|
//dependencies {
|
||
|
|
// implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
// androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
|
||
|
|
// exclude group: 'com.android.support', module: 'support-annotations'
|
||
|
|
// })
|
||
|
|
//
|
||
|
|
// implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
|
// implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||
|
|
// testImplementation 'junit:junit:4.12'
|
||
|
|
//}
|
||
|
|
//apply from: '../script/gradle-jcenter-push.gradle'
|