FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
AndroidModulePattern/module_main/build.gradle at master · zqfly/AndroidModulePattern · GitHub
zqfly
AndroidModulePattern
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
AndroidModulePattern
/
module_main
/
build.gradle
Copy path
More file actions
More file actions
Latest commit
History
History
History
53 lines (47 loc) · 1.38 KB
Breadcrumbs
AndroidModulePattern
/
module_main
/
build.gradle
Copy path
File metadata and controls
53 lines (47 loc) · 1.38 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
if
(isModule
.
toBoolean()) {
apply
plugin
:
'
com.android.application
'
}
else
{
apply
plugin
:
'
com.android.library
'
}
android
{
compileSdkVersion build_versions
.
target_sdk
defaultConfig {
minSdkVersion build_versions
.
min_sdk
targetSdkVersion build_versions
.
target_sdk
versionCode
1
versionName
"
1.0
"
javaCompileOptions {
annotationProcessorOptions {
arguments
=
[
moduleName
: project
.
getName() ]
}
}
}
compileOptions {
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
sourceSets {
main {
if
(isModule
.
toBoolean()) {
manifest
.
srcFile
'
src/main/module/AndroidManifest.xml
'
}
else
{
manifest
.
srcFile
'
src/main/AndroidManifest.xml
'
//
集成开发模式下排除debug文件夹中的所有Java文件
java {
exclude
'
debug/**
'
}
}
}
}
buildTypes {
release {
minifyEnabled
false
proguardFiles getDefaultProguardFile(
'
proguard-android.txt
'
),
'
proguard-rules.pro
'
}
}
}
dependencies
{
implementation fileTree(
dir
:
'
libs
'
,
include
: [
'
*.jar
'
])
annotationProcessor deps
.
arouter_compiler
implementation project(
'
:lib_common
'
)
}
Back
|
FazBrowse Home
|
New Git URL