diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index 96cc43e..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml deleted file mode 100644 index e7bedf3..0000000 --- a/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml index 97626ba..15a15b2 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -1,6 +1,4 @@ - - - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 4109039..2996d53 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -3,15 +3,11 @@ diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..35c3ada --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index dd86d32..37a7509 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,150 +1,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - 1.8 - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 45cf85c..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 25b2b0c..6ac7df6 100644 --- a/README.md +++ b/README.md @@ -112,4 +112,4 @@ A sliding menu library not just for recyclerview, but all views. - yes,just one step,use it is so simple # Portal - 想要阅读源码的小伙伴可以点击我的博客,在博客里简略分析了构建的思路我实现过程 -- 个人博客:[http://www.cherylgood.cn](http://www.cherylgood.cn/) \ No newline at end of file +- 个人博客:[https://www.catbro.cn](https://www.catbro.cn/) \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 64b2e9e..ee88515 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 - buildToolsVersion "25.0.2" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { applicationId "com.guanaj.easyswipemenulayout" - minSdkVersion 14 - targetSdkVersion 25 + minSdkVersion 15 + targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -20,17 +20,17 @@ android { } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + implementation fileTree(include: ['*.jar'], dir: 'libs') + androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:25.3.1' - compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' - testCompile 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support.constraint:constraint-layout:1.1.3' + androidTestImplementation 'junit:junit:4.12' // compile 'com.github.anzaizai:EasySwipeMenuLayout:1.0.6' - compile project(':easyswipemenulibrary') - compile 'com.android.support:recyclerview-v7:25.+' - compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.18' + implementation project(':easyswipemenulibrary') + implementation 'com.android.support:recyclerview-v7:28.0.0' + implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.18' } diff --git a/build.gradle b/build.gradle index 0a26ece..02cd558 100644 --- a/build.gradle +++ b/build.gradle @@ -2,10 +2,11 @@ buildscript { repositories { + google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.4.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -14,6 +15,7 @@ buildscript { allprojects { repositories { + google() jcenter() maven { url "https://jitpack.io" } } diff --git a/easyswipemenulibrary/build.gradle b/easyswipemenulibrary/build.gradle index 08c2671..bdff970 100644 --- a/easyswipemenulibrary/build.gradle +++ b/easyswipemenulibrary/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 25 - buildToolsVersion "25.0.2" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { - minSdkVersion 14 - targetSdkVersion 25 + minSdkVersion 15 + targetSdkVersion 28 versionCode 1 versionName "1.0" @@ -22,10 +22,10 @@ android { } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + implementation fileTree(include: ['*.jar'], dir: 'libs') + androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - provided 'com.android.support:appcompat-v7:25.3.1' - testCompile 'junit:junit:4.12' + compileOnly 'com.android.support:appcompat-v7:28.0.0' + testImplementation 'junit:junit:4.12' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2a0c0b5..5675ae8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Jun 06 13:20:29 CST 2017 +#Thu Jul 18 15:56:26 CST 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip