reset build file
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
apply plugin: 'com.android.application'
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion "29.0.1"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -73,23 +73,23 @@ class ComponentPlugin implements Plugin<Project> {
|
||||
ProjectUtil.addSdkSourceSets(project)
|
||||
List<PublicationOption> publicationList = PublicationManager.getInstance().getPublicationByProject(project)
|
||||
List<PublicationOption> publicationPublishList = new ArrayList<>()
|
||||
publicationList.each {
|
||||
if (it.version != null) {
|
||||
publicationPublishList.add(it)
|
||||
}
|
||||
}
|
||||
|
||||
if (publicationPublishList.size() > 0) {
|
||||
project.plugins.apply(Constants.PLUGIN_MAVEN_PUBLISH)
|
||||
def publishing = project.extensions.getByName(Constants.PUBLISHING)
|
||||
if (mComponentExtension != null && mComponentExtension.configure != null) {
|
||||
publishing.repositories mComponentExtension.configure
|
||||
}
|
||||
|
||||
publicationPublishList.each {
|
||||
PublicationUtil.createPublishTask(project, it)
|
||||
}
|
||||
}
|
||||
// publicationList.each {
|
||||
// if (it.version != null) {
|
||||
// publicationPublishList.add(it)
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if (publicationPublishList.size() > 0) {
|
||||
// project.plugins.apply(Constants.PLUGIN_MAVEN_PUBLISH)
|
||||
// def publishing = project.extensions.getByName(Constants.PUBLISHING)
|
||||
// if (mComponentExtension != null && mComponentExtension.configure != null) {
|
||||
// publishing.repositories mComponentExtension.configure
|
||||
// }
|
||||
//
|
||||
// publicationPublishList.each {
|
||||
// PublicationUtil.createPublishTask(project, it)
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user