Skip to content

Commit ef692bf

Browse files
committed
适配
1 parent 494e7de commit ef692bf

9 files changed

Lines changed: 310 additions & 36 deletions

File tree

‎build.gradle‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ buildscript {
1010
// NOTE: Do not place your application dependencies here; they belong
1111
// in the individual module build.gradle files
1212
}
13+
repositories {
14+
google()
15+
}
1316
}
1417

1518
allprojects {
@@ -35,4 +38,8 @@ allprojects {
3538

3639
task clean(type: Delete) {
3740
delete rootProject.buildDir
41+
}
42+
43+
repositories {
44+
google()
3845
}

‎gradle.properties‎

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
1-
# Project-wide Gradle settings.
2-
3-
# IDE (e.g. Android Studio) users:
4-
# Gradle settings configured through the IDE *will override*
5-
# any settings specified in this file.
6-
7-
# For more details on how to configure your build environment visit
8-
# http://www.gradle.org/docs/current/userguide/build_environment.html
9-
10-
# Specifies the JVM arguments used for the daemon process.
11-
# The setting is particularly useful for tweaking memory settings.
12-
org.gradle.jvmargs=-Xmx2048m
13-
14-
# When configured, Gradle will run in incubating parallel mode.
15-
# This option should only be used with decoupled projects. More details, visit
16-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
18-
org.gradle.daemon=true
19-
org.gradle.configureondemand=true
20-
org.gradle.parallel=true
21-
# 这个值一般跟你的AndroidStudio版本号一致
22-
localGradlePluginVersion=3.0.1
23-
24-
# 每次更改“isModule”的值后,需要点击 "Sync Project" 按钮
25-
# isModule是“集成开发模式”和“组件开发模式”的切换开关
26-
isModule=false
1+
# Project-wide Gradle settings.# IDE (e.g. Android Studio) users:# Gradle settings configured through the IDE *will override*# any settings specified in this file.# For more details on how to configure your build environment visit# http://www.gradle.org/docs/current/userguide/build_environment.html# Specifies the JVM arguments used for the daemon process.# The setting is particularly useful for tweaking memory settings.org.gradle.jvmargs=-Xmx2048m# When configured, Gradle will run in incubating parallel mode.# This option should only be used with decoupled projects. More details, visit# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projectsorg.gradle.daemon=trueorg.gradle.configureondemand=trueorg.gradle.parallel=true# 这个值一般跟你的AndroidStudio版本号一致localGradlePluginVersion=4.1# 每次更改“isModule”的值后,需要点击 "Sync Project" 按钮# isModule是“集成开发模式”和“组件开发模式”的切换开关isModule=false

‎gradle/wrapper/gradle-wrapper.jar‎

57.3 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Nov 10 07:18:11 CST 2020
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

‎gradlew‎

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎gradlew.bat‎

Lines changed: 100 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib_common/build.gradle‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ android {
2525
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2626
}
2727
}
28+
buildToolsVersion '29.0.3'
2829

2930
}
3031

‎module_app/build.gradle‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,15 @@ android {
6868
debuggable true
6969
}
7070
}
71+
buildToolsVersion '29.0.3'
7172

7273

7374
}
7475

7576
dependencies {
7677
implementation fileTree(dir: 'libs', include: ['*.jar'])
7778
implementation deps.support.multidex
78-
implementation project(':lib_common')
79+
implementation project(path: ':lib_common')
7980
if (!isModule.toBoolean()) {
8081
implementation project(':module_main')
8182
implementation project(':module_girls')

0 commit comments

Comments
 (0)