commit the biuld setting

This commit is contained in:
bobwang 2024-11-01 11:37:16 +08:00
parent 2c609374fb
commit d2f5fc0495
2 changed files with 46 additions and 22 deletions

View File

@ -1,49 +1,72 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
repositories { repositories {
jcenter() // aliyun maven
google() maven { url 'https://maven.aliyun.com/repository/public' }
// gradle-plugin
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// google()
maven { url 'https://maven.aliyun.com/repository/google' }
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
// central()
maven { url 'https://maven.aliyun.com/repository/central' }
// google()
// jcenter()
maven { url 'https://dl.bintray.com/umsdk/release' } maven { url 'https://dl.bintray.com/umsdk/release' }
maven { maven {
url "https://jitpack.io" url "https://jitpack.io"
} }
// maven { // maven {
// name 'Sonatype SNAPSHOTs' // name 'Sonatype SNAPSHOTs'
// url 'https://oss.sonatype.org/content/repositories/snapshots/' // url 'https://oss.sonatype.org/content/repositories/snapshots/'
// } // }
maven { url "https://jitpack.io" } // maven { url "https://jitpack.io" }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.2.2' classpath 'com.android.tools.build:gradle:4.2.2'
//classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0' //classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0' classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' // classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
} }
} }
allprojects { allprojects {
// gradle.projectsEvaluated { // gradle.projectsEvaluated {
// tasks.withType(JavaCompile) { // tasks.withType(JavaCompile) {
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" // options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
// } // }
// } // }
repositories { repositories {
google()
jcenter() // aliyun maven
/* maven { maven { url 'https://maven.aliyun.com/repository/public' }
url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository" // gradle-plugin
}*/ maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// google()
maven { url 'https://maven.aliyun.com/repository/google' }
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
// central()
maven { url 'https://maven.aliyun.com/repository/central' }
// google()
// jcenter()
/* maven {
url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository"
}*/
maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/umsdk/release' } maven { url 'https://dl.bintray.com/umsdk/release' }
flatDir { flatDir {
dirs 'libs' dirs 'libs'
} }
// maven { // maven {
// name 'Sonatype SNAPSHOTs' // name 'Sonatype SNAPSHOTs'
// url 'https://oss.sonatype.org/content/repositories/snapshots/' // url 'https://oss.sonatype.org/content/repositories/snapshots/'
// } // }
} }
} }

View File

@ -165,12 +165,13 @@ dependencies {
implementation 'com.timqi.collapsibletextview:library:1.1.2' implementation 'com.timqi.collapsibletextview:library:1.1.2'
implementation 'com.github.chengzipi:Searchbox:v1.0.0' implementation 'com.github.chengzipi:Searchbox:v1.0.0'
implementation 'com.github.ixiaow:multilayout:1.0.0' // implementation 'com.github.ixiaow:multilayout:1.0.0'
implementation 'q.rorbin:VerticalTabLayout:1.2.5' implementation 'q.rorbin:VerticalTabLayout:1.2.5'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.16' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.16'
implementation(name: 'autoreplyprint', ext: 'aar') implementation(name: 'autoreplyprint', ext: 'aar')
implementation 'com.blankj:utilcode:1.9.8' implementation 'com.blankj:utilcode:1.9.8'
implementation 'com.google.zxing:core:3.3.3'
//implementation "androidx.fragment:fragment:1.3.3" //implementation "androidx.fragment:fragment:1.3.3"
} }