1
modules/mogo-module-data/.gitignore
vendored
1
modules/mogo-module-data/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
/build
|
||||
@@ -1 +0,0 @@
|
||||
### 这里存放数据相关的class
|
||||
@@ -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()
|
||||
@@ -1,3 +0,0 @@
|
||||
GROUP=com.mogo.module
|
||||
POM_ARTIFACT_ID=module-data
|
||||
VERSION_CODE=1
|
||||
21
modules/mogo-module-data/proguard-rules.pro
vendored
21
modules/mogo-module-data/proguard-rules.pro
vendored
@@ -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
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mogo.mogo.module.data">
|
||||
|
||||
</manifest>
|
||||
@@ -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,
|
||||
"周边"
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user