Skip to content

Commit 965b940

Browse files
Update gradle
1 parent 0d3f1c8 commit 965b940

3 files changed

Lines changed: 17 additions & 23 deletions

File tree

app/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion androidCompileSdkVersion
5+
6+
buildToolsVersion buildToolsVersion
7+
58
defaultConfig {
69
applicationId "com.xiaofeng.androidlibs"
710
minSdkVersion androidMinSdkVersion
811
targetSdkVersion androidTargetSdkVersion
9-
versionCode 17
10-
versionName "1.7"
12+
versionCode versionCode
13+
versionName versionName
1114
vectorDrawables.useSupportLibrary = true
1215
}
1316
buildTypes {

build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.0.0-beta04'
9+
classpath 'com.android.tools.build:gradle:4.0.0'
1010
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1111
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1212
// NOTE: Do not place your application dependencies here; they belong
@@ -23,9 +23,13 @@ allprojects {
2323

2424
subprojects {
2525
ext.supportLibVersion = '1.0.0'
26-
ext.androidCompileSdkVersion = 28
26+
ext.androidCompileSdkVersion = 29
2727
ext.androidMinSdkVersion = 21
28-
ext.androidTargetSdkVersion = 28
28+
ext.androidTargetSdkVersion = 29
29+
ext.buildToolsVersion = "29.0.3"
30+
ext.versionName = "1.8.0"
31+
ext.versionCode = 18
32+
2933
}
3034

3135
task clean(type: Delete) {

flowlayoutmanager/build.gradle

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,16 @@
33
apply plugin: 'com.android.library'
44
apply plugin: 'com.jfrog.bintray'
55

6-
project.ext {
7-
libVersion = '0.1'
8-
libVersionCode = 1
9-
libGroupId = 'com.xiaofeng.android'
10-
libArtifactId = 'flowlayoutmanager'
11-
gitUrl = 'git@github.com:xiaofeng-han/AndroidLibs.git'
12-
siteUrl = 'https://github.com/xiaofeng-han/AndroidLibs'
13-
}
14-
15-
repositories {
16-
jcenter()
17-
}
18-
19-
group = 'com.xiaofeng.android'
20-
version = libVersion
21-
226
android {
237
compileSdkVersion androidCompileSdkVersion
8+
9+
buildToolsVersion buildToolsVersion
10+
2411
defaultConfig {
2512
minSdkVersion androidMinSdkVersion
2613
targetSdkVersion androidTargetSdkVersion
27-
versionCode libVersionCode
28-
versionName libVersion
14+
versionCode versionCode
15+
versionName versionName
2916
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
3017
}
3118
testOptions {

0 commit comments

Comments
 (0)