目录
1、so、aar导入在项目build.gradle中配置
2、新版本迁移到setting.grade配置
1、so、aar导入在项目build.gradle中配置
repositories {flatDir {dirs 'libs'}
}
2、新版本迁移到setting.grade配置
flatDir {dirs 'libs' }
如下图所示
pluginManagement {repositories {gradlePluginPortal()google()mavenCentral()maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }maven { url 'https://jitpack.io' }maven { url 'https://maven.aliyun.com/repository/google' }maven { url 'https://maven.google.com' }maven {url "https://repo.eclipse.org/content/repositories/paho-snapshots/"}flatDir {dirs 'libs'}}
}dependencyResolutionManagement {repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)repositories {google()mavenCentral()maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }maven { url 'https://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }maven { url 'https://jitpack.io' }maven { url 'https://maven.aliyun.com/repository/google' }maven { url 'https://maven.google.com' }maven {url "https://repo.eclipse.org/content/repositories/paho-snapshots/"}flatDir {dirs 'libs'}}
}include ':app'
include ':uniplugin_module'
include ':uniplugin_component'
include ':uniplugin_richalert'
include ':mylibrary'
include ':core'
include ':uiasr'
include ':uidialog'