Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
component
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王涛55
component
Commits
ee41da8c
Commit
ee41da8c
authored
Sep 10, 2019
by
wangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:添加配置
parent
275cc03d
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
304 additions
and
11 deletions
+304
-11
ModuleProject/.idea/codeStyles/Project.xml
+260
-0
ModuleProject/.idea/codeStyles/codeStyleConfig.xml
+6
-0
ModuleProject/.idea/gradle.xml
+6
-0
ModuleProject/.idea/misc.xml
+1
-1
ModuleProject/.idea/vcs.xml
+7
-0
ModuleProject/app/build.gradle
+1
-3
ModuleProject/build.gradle
+9
-5
ModuleProject/config.gradle
+12
-0
ModuleProject/gradle/wrapper/gradle-wrapper.properties
+2
-2
No files found.
ModuleProject/.idea/codeStyles/Project.xml
0 → 100644
View file @
ee41da8c
<component
name=
"ProjectCodeStyleConfiguration"
>
<code_scheme
name=
"Project"
version=
"173"
>
<option
name=
"LINE_SEPARATOR"
value=
" "
/>
<option
name=
"CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND"
value=
"99"
/>
<option
name=
"NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND"
value=
"99"
/>
<option
name=
"PACKAGES_TO_USE_IMPORT_ON_DEMAND"
>
<value
/>
</option>
<option
name=
"IMPORT_LAYOUT_TABLE"
>
<value>
<package
name=
"android"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"com"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"junit"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"net"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"org"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"java"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"javax"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
""
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
""
withSubpackages=
"true"
static=
"true"
/>
<emptyLine
/>
</value>
</option>
<option
name=
"RIGHT_MARGIN"
value=
"100"
/>
<AndroidXmlCodeStyleSettings>
<option
name=
"USE_CUSTOM_SETTINGS"
value=
"true"
/>
</AndroidXmlCodeStyleSettings>
<JavaCodeStyleSettings>
<option
name=
"CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND"
value=
"99"
/>
<option
name=
"NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND"
value=
"99"
/>
<option
name=
"PACKAGES_TO_USE_IMPORT_ON_DEMAND"
>
<value
/>
</option>
<option
name=
"IMPORT_LAYOUT_TABLE"
>
<value>
<package
name=
"android"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"com"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"junit"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"net"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"org"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"java"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
"javax"
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
""
withSubpackages=
"true"
static=
"false"
/>
<emptyLine
/>
<package
name=
""
withSubpackages=
"true"
static=
"true"
/>
<emptyLine
/>
</value>
</option>
</JavaCodeStyleSettings>
<JetCodeStyleSettings>
<option
name=
"CODE_STYLE_DEFAULTS"
value=
"KOTLIN_OFFICIAL"
/>
</JetCodeStyleSettings>
<Objective-C-extensions>
<file>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Import"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Macro"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Typedef"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Enum"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Constant"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Global"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Struct"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"FunctionPredecl"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Function"
/>
</file>
<class>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Property"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"Synthesize"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"InitMethod"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"StaticMethod"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"InstanceMethod"
/>
<option
name=
"com.jetbrains.cidr.lang.util.OCDeclarationKind"
value=
"DeallocMethod"
/>
</class>
<extensions>
<pair
source=
"cpp"
header=
"h"
fileNamingConvention=
"NONE"
/>
<pair
source=
"c"
header=
"h"
fileNamingConvention=
"NONE"
/>
</extensions>
</Objective-C-extensions>
<XML>
<option
name=
"XML_KEEP_LINE_BREAKS"
value=
"false"
/>
<option
name=
"XML_ALIGN_ATTRIBUTES"
value=
"false"
/>
<option
name=
"XML_SPACE_INSIDE_EMPTY_TAG"
value=
"true"
/>
<option
name=
"XML_LEGACY_SETTINGS_IMPORTED"
value=
"true"
/>
</XML>
<codeStyleSettings
language=
"XML"
>
<option
name=
"FORCE_REARRANGE_MODE"
value=
"1"
/>
<indentOptions>
<option
name=
"CONTINUATION_INDENT_SIZE"
value=
"4"
/>
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>
xmlns:android
</NAME>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
xmlns:.*
</NAME>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:id
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:name
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
name
</NAME>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
style
</NAME>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*
</NAME>
<XML_NAMESPACE>
^$
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:layout_width
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:layout_height
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:layout_.*
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:width
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*:height
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*
</NAME>
<XML_NAMESPACE>
http://schemas.android.com/apk/res/android
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>
.*
</NAME>
<XML_NAMESPACE>
.*
</XML_NAMESPACE>
</AND>
</match>
<order>
BY_NAME
</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings
language=
"kotlin"
>
<option
name=
"CODE_STYLE_DEFAULTS"
value=
"KOTLIN_OFFICIAL"
/>
</codeStyleSettings>
</code_scheme>
</component>
\ No newline at end of file
ModuleProject/.idea/codeStyles/codeStyleConfig.xml
0 → 100644
View file @
ee41da8c
<component
name=
"ProjectCodeStyleConfiguration"
>
<state>
<option
name=
"USE_PER_PROJECT_SETTINGS"
value=
"true"
/>
</state>
</component>
\ No newline at end of file
ModuleProject/.idea/gradle.xml
View file @
ee41da8c
...
...
@@ -5,6 +5,12 @@
<GradleProjectSettings>
<option
name=
"distributionType"
value=
"DEFAULT_WRAPPED"
/>
<option
name=
"externalProjectPath"
value=
"$PROJECT_DIR$"
/>
<option
name=
"modules"
>
<set>
<option
value=
"$PROJECT_DIR$"
/>
<option
value=
"$PROJECT_DIR$/app"
/>
</set>
</option>
<option
name=
"resolveModulePerSourceSet"
value=
"false"
/>
</GradleProjectSettings>
</option>
...
...
ModuleProject/.idea/misc.xml
View file @
ee41da8c
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_7"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_7"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
ModuleProject/.idea/vcs.xml
0 → 100644
View file @
ee41da8c
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$/.."
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
ModuleProject/app/build.gradle
View file @
ee41da8c
apply
plugin:
'com.android.application'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
android
{
...
...
@@ -25,7 +23,7 @@ android {
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:
$kotlin_version
"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:
1.3.30
"
implementation
'androidx.appcompat:appcompat:1.1.0'
implementation
'androidx.core:core-ktx:1.1.0'
implementation
'androidx.constraintlayout:constraintlayout:1.1.3'
...
...
ModuleProject/build.gradle
View file @
ee41da8c
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply
from:
'config.gradle'
buildscript
{
ext
.
kotlin_version
=
'1.3.31'
repositories
{
google
()
jcenter
()
...
...
@@ -9,19 +8,23 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.1.2'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:
$kotlin_version
"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:
1.3.30
"
classpath
"org.jetbrains.kotlin:kotlin-android-extensions:1.3.30"
}
}
allprojects
{
repositories
{
google
()
jcenter
()
}
}
task
clean
(
type:
Delete
)
{
delete
rootProject
.
buildDir
}
ext
{
kotlin_version
=
'1.3.30'
}
\ No newline at end of file
ModuleProject/config.gradle
0 → 100644
View file @
ee41da8c
def
build_module_app
=
0x00
//壳app module组件
def
build_module_welcome
=
0x01
// 欢迎组件
def
build_module_login
=
0x02
//登录组件
def
build_module_mine
=
0x03
//我的模块组件
def
build_module_home
=
0x04
//主页面组件
def
build_module_credit
=
0x05
//信用模块组件
def
build_module_passport
=
0x06
//通行证组件
def
build_module_plan_trip
=
0x07
//预约出行组件
//当前运行的model
ext
.
build_module_app
=
build_module_app
ModuleProject/gradle/wrapper/gradle-wrapper.properties
View file @
ee41da8c
#
Mon Sep 09 10:32:57 CST 2019
#
Tue Dec 18 10:38:22 CST 2018
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
5.1.1
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
4.4
-all.zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment