Skip to content

Commit 6d95433

Browse files
author
mrzhang
committed
remove flatDir , use maven instead
1 parent 72aeb6c commit 6d95433

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

build-gradle/src/main/groovy/com.dd.buildgradle/ComBuild.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ComBuild implements Plugin<Project> {
1919
AssembleTask assembleTask = getTaskInfo(project.gradle.startParameter.taskNames)
2020

2121
if (assembleTask.isAssemble) {
22-
fetchMainmodulename(project, assembleTask)
22+
fetchMainModulename(project, assembleTask)
2323
System.out.println("compilemodule is " + compilemodule)
2424
}
2525

@@ -73,7 +73,7 @@ class ComBuild implements Plugin<Project> {
7373
* sharecomponent:assembleRelease :sharecomponent:assembleRelease ---sharecomponent
7474
* @param assembleTask
7575
*/
76-
private void fetchMainmodulename(Project project, AssembleTask assembleTask) {
76+
private void fetchMainModulename(Project project, AssembleTask assembleTask) {
7777
if (!project.rootProject.hasProperty("mainmodulename")) {
7878
throw new RuntimeException("you should set compilemodule in rootproject's gradle.properties")
7979
}

build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ buildscript {
2121

2222
allprojects {
2323
repositories {
24-
flatDir {
25-
dirs '../componentrelease' //this way we can find the .aar file in folder
26-
}
2724
jcenter()
2825
maven { url "https://jitpack.io" }
2926
maven {

sharecomponent/src/main/runalone/java/com.luojilab.share.runalone/application/ShareApplication.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package com.luojilab.share.runalone.application;
22

3-
import android.app.Application;
4-
53
import com.luojilab.component.basicres.BaseApplication;
64

75
/**

sharecomponentkotlin/src/main/runalone/java/com.luojilab.share.runalone/application/KotlinApplication.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.luojilab.share.runalone.application
22

3-
import android.app.Application
43
import com.luojilab.component.basicres.BaseApplication
54

65
/**

0 commit comments

Comments
 (0)