From 0558d54494d98a668d89309dcc7025c53426b350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Fri, 17 Sep 2021 16:58:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B7=B2=E7=BB=8F=E4=B8=8B?= =?UTF-8?q?=E6=B2=89=E5=88=B0core=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 董宏宇 --- modules/mogo-module-data/.gitignore | 1 - modules/mogo-module-data/README.md | 1 - modules/mogo-module-data/build.gradle | 36 ------------- modules/mogo-module-data/consumer-rules.pro | 0 modules/mogo-module-data/gradle.properties | 3 -- modules/mogo-module-data/proguard-rules.pro | 21 -------- .../src/main/AndroidManifest.xml | 5 -- .../module/data/enums/WarningDirectionEnum.kt | 51 ------------------- 8 files changed, 118 deletions(-) delete mode 100644 modules/mogo-module-data/.gitignore delete mode 100644 modules/mogo-module-data/README.md delete mode 100644 modules/mogo-module-data/build.gradle delete mode 100644 modules/mogo-module-data/consumer-rules.pro delete mode 100644 modules/mogo-module-data/gradle.properties delete mode 100644 modules/mogo-module-data/proguard-rules.pro delete mode 100644 modules/mogo-module-data/src/main/AndroidManifest.xml delete mode 100644 modules/mogo-module-data/src/main/java/com/mogo/module/data/enums/WarningDirectionEnum.kt diff --git a/modules/mogo-module-data/.gitignore b/modules/mogo-module-data/.gitignore deleted file mode 100644 index 42afabfd2a..0000000000 --- a/modules/mogo-module-data/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/modules/mogo-module-data/README.md b/modules/mogo-module-data/README.md deleted file mode 100644 index 749fbb0794..0000000000 --- a/modules/mogo-module-data/README.md +++ /dev/null @@ -1 +0,0 @@ -### 这里存放数据相关的class \ No newline at end of file diff --git a/modules/mogo-module-data/build.gradle b/modules/mogo-module-data/build.gradle deleted file mode 100644 index 002aeb57bc..0000000000 --- a/modules/mogo-module-data/build.gradle +++ /dev/null @@ -1,36 +0,0 @@ -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' -android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - // buildToolsVersion rootProject.ext.android.buildToolsVersion - defaultConfig { - minSdkVersion rootProject.ext.android.minSdkVersion - targetSdkVersion rootProject.ext.android.targetSdkVersion - versionCode Integer.valueOf(VERSION_CODE) - versionName getValueFromRootProperties("${project.name.replace("-", "_").toUpperCase()}_VERSION") - - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles 'consumer-rules.pro' - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation rootProject.ext.dependencies.kotlinstdlibjdk7 -} - -apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString() diff --git a/modules/mogo-module-data/consumer-rules.pro b/modules/mogo-module-data/consumer-rules.pro deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/modules/mogo-module-data/gradle.properties b/modules/mogo-module-data/gradle.properties deleted file mode 100644 index 803c4a6016..0000000000 --- a/modules/mogo-module-data/gradle.properties +++ /dev/null @@ -1,3 +0,0 @@ -GROUP=com.mogo.module -POM_ARTIFACT_ID=module-data -VERSION_CODE=1 diff --git a/modules/mogo-module-data/proguard-rules.pro b/modules/mogo-module-data/proguard-rules.pro deleted file mode 100644 index 481bb43481..0000000000 --- a/modules/mogo-module-data/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/modules/mogo-module-data/src/main/AndroidManifest.xml b/modules/mogo-module-data/src/main/AndroidManifest.xml deleted file mode 100644 index ca10114319..0000000000 --- a/modules/mogo-module-data/src/main/AndroidManifest.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/mogo-module-data/src/main/java/com/mogo/module/data/enums/WarningDirectionEnum.kt b/modules/mogo-module-data/src/main/java/com/mogo/module/data/enums/WarningDirectionEnum.kt deleted file mode 100644 index 1d0cb75137..0000000000 --- a/modules/mogo-module-data/src/main/java/com/mogo/module/data/enums/WarningDirectionEnum.kt +++ /dev/null @@ -1,51 +0,0 @@ -package com.mogo.module.data.enums - -/** - *@author xiaoyuzhou - *@date 2021/9/10 8:48 下午 - */ -enum class WarningDirectionEnum( - var direction: Int, - var desc: String, -) { - ALERT_WARNING_NON( - 0, - "关闭红色边框预警" - ), - ALERT_WARNING_TOP( - 1, - "正前方" - ), - ALERT_WARNING_RIGHT( - 2, - "正右边" - ), - ALERT_WARNING_BOTTOM( - 3, - "正后方" - ), - ALERT_WARNING_LEFT( - 4, - "正左方" - ), - ALERT_WARNING_TOP_RIGHT( - 5, - "右前方" - ), - ALERT_WARNING_BOTTOM_RIGHT( - 6, - "右后方" - ), - ALERT_WARNING_BOTTOM_LEFT( - 7, - "左后方" - ), - ALERT_WARNING_TOP_LEFT( - 8, - "左前方" - ), - ALERT_WARNING_ALL( - 9, - "周边" - ) -} \ No newline at end of file