当前位置: 首页 > 工具软件 > TitleBar > 使用案例 >

调用TitleBar第三方依赖

宗政功
2023-12-01
gradle版本
classpath "com.android.tools.build:gradle:7.0.4"
项目根目录下的build.gradle里dependencies下添加
//TitleBar
implementation 'com.github.getActivity:TitleBar:8.6'

settings.gradle文件添加

maven {url "https://jitpack.io"}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven {url "https://jitpack.io"}
        jcenter() // Warning: this repository is going to shut down soon
    }
}
rootProject.name = "Demo01"
include ':app'

 类似资料: