Skip to content

Commit

Permalink
Update script and release v2.1.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanzhenjie committed Mar 19, 2022
1 parent aa7cd10 commit 86d5046
Show file tree
Hide file tree
Showing 9 changed files with 102 additions and 239 deletions.
2 changes: 1 addition & 1 deletion annotation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ compileJava {
targetCompatibility = JavaVersion.VERSION_1_8
}

apply from: '../bintray.gradle'
apply from: '../central.gradle'
6 changes: 3 additions & 3 deletions api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ android {

buildTypes {
release {
buildConfigField "java.lang.String", "PROJECT_VERSION", "\"${PROJECT_VERSION}\""
buildConfigField "java.lang.String", "PROJECT_VERSION", "\"${POM_VERSION}\""
}
debug {
buildConfigField "java.lang.String", "PROJECT_VERSION", "\"${PROJECT_VERSION}\""
buildConfigField "java.lang.String", "PROJECT_VERSION", "\"${POM_VERSION}\""
}
}
}
Expand All @@ -33,4 +33,4 @@ dependencies {
compileOnly deps.android.annotation
}

apply from: '../bintray.gradle'
apply from: '../central.gradle'
142 changes: 0 additions & 142 deletions bintray.gradle

This file was deleted.

16 changes: 7 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
apply from: "config.gradle"
apply from: 'config.gradle'

buildscript {
repositories {
mavenLocal()
google { url 'https://maven.aliyun.com/repository/google' }
jcenter { url 'https://maven.aliyun.com/repository/jcenter' }
mavenCentral { url 'https://maven.aliyun.com/repository/central' }
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
classpath "com.yanzhenjie.andserver:plugin:2.1.9"
classpath 'com.yanzhenjie.andserver:plugin:2.1.10'
}
}

allprojects {
repositories {
mavenLocal()
google { url 'https://maven.aliyun.com/repository/google' }
jcenter { url 'https://maven.aliyun.com/repository/jcenter' }
mavenCentral { url 'https://maven.aliyun.com/repository/central' }
google()
jcenter()
mavenCentral()
}
}

Expand Down
Loading

0 comments on commit 86d5046

Please sign in to comment.