Commit 3c7e91f31a70be1c8c26f5b6780283022c6a8b2b
1 parent
5cc69290e4
Exists in
master
编译通过
Showing
5 changed files
with
18 additions
and
8 deletions
Show diff stats
.idea/.name
| File was created | 1 | parent |
.idea/gradle.xml
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project version="4"> | 2 | <project version="4"> |
| 3 | <component name="GradleMigrationSettings" migrationVersion="1" /> | 3 | <component name="GradleMigrationSettings" migrationVersion="1" /> |
| 4 | <component name="GradleSettings"> | 4 | <component name="GradleSettings"> |
| 5 | <option name="linkedExternalProjectsSettings"> | 5 | <option name="linkedExternalProjectsSettings"> |
| 6 | <GradleProjectSettings> | 6 | <GradleProjectSettings> |
| 7 | <option name="externalProjectPath" value="$PROJECT_DIR$" /> | 7 | <option name="externalProjectPath" value="$PROJECT_DIR$" /> |
| 8 | <option name="gradleJvm" value="#JAVA_HOME" /> | 8 | <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> |
| 9 | <option name="modules"> | 9 | <option name="modules"> |
| 10 | <set> | 10 | <set> |
| 11 | <option value="$PROJECT_DIR$" /> | 11 | <option value="$PROJECT_DIR$" /> |
| 12 | <option value="$PROJECT_DIR$/app" /> | 12 | <option value="$PROJECT_DIR$/app" /> |
| 13 | <option value="$PROJECT_DIR$/libs" /> | 13 | <option value="$PROJECT_DIR$/libs" /> |
| 14 | <option value="$PROJECT_DIR$/libs/common" /> | 14 | <option value="$PROJECT_DIR$/libs/common" /> |
| 15 | </set> | 15 | </set> |
| 16 | </option> | 16 | </option> |
| 17 | <option name="resolveExternalAnnotations" value="false" /> | 17 | <option name="resolveExternalAnnotations" value="false" /> |
| 18 | </GradleProjectSettings> | 18 | </GradleProjectSettings> |
| 19 | </option> | 19 | </option> |
| 20 | </component> | 20 | </component> |
| 21 | </project> | 21 | </project> |
.idea/migrations.xml
| File was created | 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | <project version="4"> | ||
| 3 | <component name="ProjectMigrations"> | ||
| 4 | <option name="MigrateToGradleLocalJavaHome"> | ||
| 5 | <set> | ||
| 6 | <option value="$PROJECT_DIR$" /> | ||
| 7 | </set> | ||
| 8 | </option> | ||
| 9 | </component> | ||
| 10 | </project> |
.idea/misc.xml
| 1 | <project version="4"> | 1 | <project version="4"> |
| 2 | <component name="DesignSurface"> | 2 | <component name="DesignSurface"> |
| 3 | <option name="filePathToZoomLevelMap"> | 3 | <option name="filePathToZoomLevelMap"> |
| 4 | <map> | 4 | <map> |
| 5 | <entry key="app/src/main/res/drawable/bg_solid_btn.xml" value="0.29907407407407405" /> | 5 | <entry key="app/src/main/res/drawable/bg_solid_btn.xml" value="0.29907407407407405" /> |
| 6 | <entry key="app/src/main/res/drawable/bg_solid_btn_grad.xml" value="0.29907407407407405" /> | 6 | <entry key="app/src/main/res/drawable/bg_solid_btn_grad.xml" value="0.29907407407407405" /> |
| 7 | <entry key="app/src/main/res/drawable/bg_solid_white.xml" value="0.21851851851851853" /> | 7 | <entry key="app/src/main/res/drawable/bg_solid_white.xml" value="0.21851851851851853" /> |
| 8 | <entry key="app/src/main/res/drawable/bg_solid_white_10.xml" value="0.29907407407407405" /> | 8 | <entry key="app/src/main/res/drawable/bg_solid_white_10.xml" value="0.29907407407407405" /> |
| 9 | <entry key="app/src/main/res/drawable/bg_solid_white_10_bottom.xml" value="0.2388888888888889" /> | 9 | <entry key="app/src/main/res/drawable/bg_solid_white_10_bottom.xml" value="0.2388888888888889" /> |
| 10 | <entry key="app/src/main/res/drawable/bg_solid_white_10_or.xml" value="0.24814814814814815" /> | 10 | <entry key="app/src/main/res/drawable/bg_solid_white_10_or.xml" value="0.24814814814814815" /> |
| 11 | <entry key="app/src/main/res/drawable/bg_solid_white_10_top.xml" value="0.2388888888888889" /> | 11 | <entry key="app/src/main/res/drawable/bg_solid_white_10_top.xml" value="0.2388888888888889" /> |
| 12 | <entry key="app/src/main/res/drawable/bg_solid_white_20.xml" value="0.25555555555555554" /> | 12 | <entry key="app/src/main/res/drawable/bg_solid_white_20.xml" value="0.25555555555555554" /> |
| 13 | <entry key="app/src/main/res/drawable/checked_xc.xml" value="0.29907407407407405" /> | 13 | <entry key="app/src/main/res/drawable/checked_xc.xml" value="0.29907407407407405" /> |
| 14 | <entry key="app/src/main/res/drawable/select_b_1.xml" value="0.25555555555555554" /> | 14 | <entry key="app/src/main/res/drawable/select_b_1.xml" value="0.25555555555555554" /> |
| 15 | <entry key="app/src/main/res/drawable/select_b_2.xml" value="0.25555555555555554" /> | 15 | <entry key="app/src/main/res/drawable/select_b_2.xml" value="0.25555555555555554" /> |
| 16 | <entry key="app/src/main/res/drawable/select_t_1.xml" value="0.25555555555555554" /> | 16 | <entry key="app/src/main/res/drawable/select_t_1.xml" value="0.25555555555555554" /> |
| 17 | <entry key="app/src/main/res/drawable/welcome_bg.xml" value="0.38958333333333334" /> | 17 | <entry key="app/src/main/res/drawable/welcome_bg.xml" value="0.38958333333333334" /> |
| 18 | <entry key="app/src/main/res/layout/activity_add_stu.xml" value="0.3734375" /> | 18 | <entry key="app/src/main/res/layout/activity_add_stu.xml" value="0.3734375" /> |
| 19 | <entry key="app/src/main/res/layout/activity_changem.xml" value="0.3734375" /> | 19 | <entry key="app/src/main/res/layout/activity_changem.xml" value="0.3734375" /> |
| 20 | <entry key="app/src/main/res/layout/activity_login.xml" value="0.20064724919093851" /> | 20 | <entry key="app/src/main/res/layout/activity_login.xml" value="0.20064724919093851" /> |
| 21 | <entry key="app/src/main/res/layout/activity_main.xml" value="0.359375" /> | 21 | <entry key="app/src/main/res/layout/activity_main.xml" value="0.359375" /> |
| 22 | <entry key="app/src/main/res/layout/activity_me.xml" value="0.3734375" /> | 22 | <entry key="app/src/main/res/layout/activity_me.xml" value="0.3734375" /> |
| 23 | <entry key="app/src/main/res/layout/activity_qr.xml" value="0.1" /> | 23 | <entry key="app/src/main/res/layout/activity_qr.xml" value="0.1" /> |
| 24 | <entry key="app/src/main/res/layout/activity_register.xml" value="0.3734375" /> | 24 | <entry key="app/src/main/res/layout/activity_register.xml" value="0.3734375" /> |
| 25 | <entry key="app/src/main/res/layout/activity_sao.xml" value="0.3734375" /> | 25 | <entry key="app/src/main/res/layout/activity_sao.xml" value="0.3734375" /> |
| 26 | <entry key="app/src/main/res/layout/activity_select_stu.xml" value="0.3734375" /> | 26 | <entry key="app/src/main/res/layout/activity_select_stu.xml" value="0.3734375" /> |
| 27 | <entry key="app/src/main/res/layout/activity_set_jia.xml" value="0.3734375" /> | 27 | <entry key="app/src/main/res/layout/activity_set_jia.xml" value="0.3734375" /> |
| 28 | <entry key="app/src/main/res/layout/activity_set_nian.xml" value="0.31952662721893493" /> | 28 | <entry key="app/src/main/res/layout/activity_set_nian.xml" value="0.31952662721893493" /> |
| 29 | <entry key="app/src/main/res/layout/activity_set_nick.xml" value="0.3734375" /> | 29 | <entry key="app/src/main/res/layout/activity_set_nick.xml" value="0.3734375" /> |
| 30 | <entry key="app/src/main/res/layout/activity_set_sex.xml" value="0.2781065088757396" /> | 30 | <entry key="app/src/main/res/layout/activity_set_sex.xml" value="0.2781065088757396" /> |
| 31 | <entry key="app/src/main/res/layout/activity_setac.xml" value="0.3734375" /> | 31 | <entry key="app/src/main/res/layout/activity_setac.xml" value="0.3734375" /> |
| 32 | <entry key="app/src/main/res/layout/activity_yin.xml" value="0.3734375" /> | 32 | <entry key="app/src/main/res/layout/activity_yin.xml" value="0.3734375" /> |
| 33 | <entry key="app/src/main/res/layout/fragment_home.xml" value="0.1" /> | 33 | <entry key="app/src/main/res/layout/fragment_home.xml" value="0.1" /> |
| 34 | <entry key="app/src/main/res/layout/fragment_me.xml" value="0.13197430135483507" /> | 34 | <entry key="app/src/main/res/layout/fragment_me.xml" value="0.13197430135483507" /> |
| 35 | <entry key="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" value="0.3814814814814815" /> | 35 | <entry key="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" value="0.3814814814814815" /> |
| 36 | <entry key="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" value="0.3814814814814815" /> | 36 | <entry key="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" value="0.3814814814814815" /> |
| 37 | <entry key="libs/common/src/main/res/drawable/bg_solid_white.xml" value="0.21851851851851853" /> | 37 | <entry key="libs/common/src/main/res/drawable/bg_solid_white.xml" value="0.21851851851851853" /> |
| 38 | <entry key="libs/common/src/main/res/drawable/default_label_bg.xml" value="0.21851851851851853" /> | 38 | <entry key="libs/common/src/main/res/drawable/default_label_bg.xml" value="0.21851851851851853" /> |
| 39 | <entry key="libs/common/src/main/res/drawable/select_map_position_type.xml" value="0.21851851851851853" /> | 39 | <entry key="libs/common/src/main/res/drawable/select_map_position_type.xml" value="0.21851851851851853" /> |
| 40 | <entry key="libs/common/src/main/res/drawable/shape_dialog_bg.xml" value="0.21851851851851853" /> | 40 | <entry key="libs/common/src/main/res/drawable/shape_dialog_bg.xml" value="0.21851851851851853" /> |
| 41 | <entry key="libs/common/src/main/res/layout/dialog_auxiliary_point.xml" value="0.2791666666666667" /> | 41 | <entry key="libs/common/src/main/res/layout/dialog_auxiliary_point.xml" value="0.2791666666666667" /> |
| 42 | </map> | 42 | </map> |
| 43 | </option> | 43 | </option> |
| 44 | </component> | 44 | </component> |
| 45 | <component name="ExternalStorageConfigurationManager" enabled="true" /> | ||
| 45 | <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK"> | 46 | <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK"> |
| 46 | <output url="file://$PROJECT_DIR$/build/classes" /> | 47 | <output url="file://$PROJECT_DIR$/build/classes" /> |
| 47 | </component> | 48 | </component> |
| 48 | <component name="ProjectType"> | 49 | <component name="ProjectType"> |
| 49 | <option name="id" value="Android" /> | 50 | <option name="id" value="Android" /> |
| 50 | </component> | 51 | </component> |
| 51 | </project> | 52 | </project> |
build.gradle
| 1 | buildscript { | 1 | buildscript { |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | ext { | 4 | ext { |
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | androidId = [ | 7 | androidId = [ |
| 8 | compileSdkVersion: 32, | 8 | compileSdkVersion: 32, |
| 9 | minSdkVersion : 24, | 9 | minSdkVersion : 24, |
| 10 | targetSdkVersion : 32, | 10 | targetSdkVersion : 32, |
| 11 | versionCode : 1, | 11 | versionCode : 1, |
| 12 | versionName : "0.0.1" | 12 | versionName : "0.0.1" |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | ] | 15 | ] |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | url = [ | 18 | url = [ |
| 19 | server_url : "http://192.168.3.37:8088", //http 请求指令 | 19 | server_url : "http://192.168.3.37:8088", //http 请求指令 |
| 20 | server_url_online: "https://mgr.hjx.com", //http 请求指令 | 20 | server_url_online: "https://mgr.hjx.com", //http 请求指令 |
| 21 | ] | 21 | ] |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | dependencies = [ | 24 | dependencies = [ |
| 25 | appcompat : 'androidx.appcompat:appcompat:1.0.0', | 25 | appcompat : 'androidx.appcompat:appcompat:1.0.0', |
| 26 | constraint : 'androidx.constraintlayout:constraintlayout:1.1.3', | 26 | constraint : 'androidx.constraintlayout:constraintlayout:1.1.3', |
| 27 | cardview : 'androidx.cardview:cardview:1.0.0', | 27 | cardview : 'androidx.cardview:cardview:1.0.0', |
| 28 | recyclerview : 'androidx.recyclerview:recyclerview:1.0.0', | 28 | recyclerview : 'androidx.recyclerview:recyclerview:1.0.0', |
| 29 | material : 'com.google.android.material:material:1.0.0', | 29 | material : 'com.google.android.material:material:1.0.0', |
| 30 | // 依赖RxAndroid 2X 的依赖库 | 30 | // 依赖RxAndroid 2X 的依赖库 |
| 31 | // 增加RxJava 2X 的依赖库 | 31 | // 增加RxJava 2X 的依赖库 |
| 32 | rxandroid : 'io.reactivex.rxjava2:rxandroid:2.0.1', | 32 | rxandroid : 'io.reactivex.rxjava2:rxandroid:2.0.1', |
| 33 | rxjava : 'io.reactivex.rxjava2:rxjava:2.0.7', | 33 | rxjava : 'io.reactivex.rxjava2:rxjava:2.0.7', |
| 34 | 34 | ||
| 35 | // 以下需要使用Retrofit | 35 | // 以下需要使用Retrofit |
| 36 | //retrofit | 36 | //retrofit |
| 37 | retrofit : 'com.squareup.retrofit2:retrofit:2.1.0', | 37 | retrofit : 'com.squareup.retrofit2:retrofit:2.1.0', |
| 38 | //Gson converter | 38 | //Gson converter |
| 39 | converter : 'com.squareup.retrofit2:converter-gson:2.1.0', | 39 | converter : 'com.squareup.retrofit2:converter-gson:2.1.0', |
| 40 | //RxJava2 Adapter | 40 | //RxJava2 Adapter |
| 41 | retrofit2 : 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0', | 41 | retrofit2 : 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0', |
| 42 | //okhttp | 42 | //okhttp |
| 43 | okhttp : 'com.squareup.okhttp3:okhttp:3.8.1', | 43 | okhttp : 'com.squareup.okhttp3:okhttp:3.8.1', |
| 44 | logging : 'com.squareup.okhttp3:logging-interceptor:3.4.1', | 44 | logging : 'com.squareup.okhttp3:logging-interceptor:3.4.1', |
| 45 | utils : 'com.github.wang-developer:AndroidUtilsDemo:1.0.6', | 45 | utils : 'com.github.wang-developer:AndroidUtilsDemo:1.0.6', |
| 46 | commons_lang : 'org.apache.commons:commons-lang3:3.7', | 46 | commons_lang : 'org.apache.commons:commons-lang3:3.7', |
| 47 | commons_compress: 'org.apache.commons:commons-compress:1.19', | 47 | commons_compress: 'org.apache.commons:commons-compress:1.19', |
| 48 | commons_c_lang : 'commons-lang:commons-lang:2.3', | 48 | commons_c_lang : 'commons-lang:commons-lang:2.3', |
| 49 | commons_codec : 'commons-codec:commons-codec:1.7', | 49 | commons_codec : 'commons-codec:commons-codec:1.7', |
| 50 | eventbus : 'org.greenrobot:eventbus:3.2.0', | 50 | eventbus : 'org.greenrobot:eventbus:3.2.0', |
| 51 | eventbus2 : 'org.simple:androideventbus:1.0.5.1', | 51 | eventbus2 : 'org.simple:androideventbus:1.0.5.1', |
| 52 | glide : 'com.github.bumptech.glide:glide:4.6.1', | 52 | glide : 'com.github.bumptech.glide:glide:4.6.1', |
| 53 | permissions : 'com.github.getActivity:XXPermissions:11.6', | 53 | permissions : 'com.github.getActivity:XXPermissions:11.6', |
| 54 | orcode : 'cn.yipianfengye.android:zxing-library:2.2' | 54 | orcode : 'cn.yipianfengye.android:zxing-library:2.2' |
| 55 | // push : 'com.umeng.sdk:push:4.1.0', | 55 | // push : 'com.umeng.sdk:push:4.1.0', |
| 56 | // litepal : 'org.litepal.android:java:3.0.0', | 56 | // litepal : 'org.litepal.android:java:3.0.0', |
| 57 | 57 | ||
| 58 | 58 | ||
| 59 | // AlivcFFmpeg : 'com.aliyun.video.android:AlivcFFmpeg:2.0.0', | 59 | // AlivcFFmpeg : 'com.aliyun.video.android:AlivcFFmpeg:2.0.0', |
| 60 | 60 | ||
| 61 | // | 61 | // |
| 62 | // basequickadapter : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.34', | 62 | // basequickadapter : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.34', |
| 63 | // SwipeDelMenuLayout: 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0', | 63 | // SwipeDelMenuLayout: 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0', |
| 64 | // flycoTabLayout : 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar' | 64 | // flycoTabLayout : 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar' |
| 65 | 65 | ||
| 66 | 66 | ||
| 67 | ] | 67 | ] |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | repositories { | 71 | repositories { |
| 72 | google() | 72 | maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } |
| 73 | jcenter() | ||
| 74 | maven { url 'https://maven.aliyun.com/repository/jcenter' } | ||
| 75 | maven { url 'https://maven.aliyun.com/repository/google' } | 73 | maven { url 'https://maven.aliyun.com/repository/google' } |
| 76 | maven { url 'https://maven.aliyun.com/repository/central' } | 74 | maven { url 'https://maven.aliyun.com/repository/central' } |
| 77 | maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } | 75 | google() |
| 76 | maven { url 'https://maven.aliyun.com/repository/jcenter' } | ||
| 78 | } | 77 | } |
| 79 | dependencies { | 78 | dependencies { |
| 80 | classpath 'com.android.tools.build:gradle:4.2.2' | 79 | classpath 'com.android.tools.build:gradle:4.2.2' |
| 81 | classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' | 80 | classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' |
| 82 | classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' | 81 | classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' |
| 83 | classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3' | 82 | classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3' |
| 84 | classpath "com.alibaba:arouter-register:1.0.2" | 83 | classpath "com.alibaba:arouter-register:1.0.2" |
| 85 | // NOTE: Do not place your application dependencies here; they belong | 84 | // NOTE: Do not place your application dependencies here; they belong |
| 86 | // in the individual module build.gradle files | 85 | // in the individual module build.gradle files |
| 87 | } | 86 | } |
| 88 | 87 | ||
| 89 | 88 | ||
| 90 | } | 89 | } |
| 91 | 90 | ||
| 92 | 91 | ||
| 93 | allprojects { | 92 | allprojects { |
| 94 | repositories { | 93 | repositories { |
| 95 | google() | ||
| 96 | jcenter() | ||
| 97 | maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' } | 94 | maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' } |
| 98 | maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } | ||
| 99 | maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } | 95 | maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } |
| 100 | maven { url 'https://jitpack.io' } | 96 | maven { url 'https://jitpack.io' } |
| 97 | google() | ||
| 98 | maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } | ||
| 101 | } | 99 | } |
| 102 | } | 100 | } |
| 103 | task clean(type: Delete) { | 101 | task clean(type: Delete) { |