diff --git a/build.gradle b/build.gradle index 8fc5126..338aa18 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,10 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - buildscript { repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.2.1' - classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.1' + classpath 'com.android.tools.build:gradle:4.2.2' } } @@ -16,11 +13,6 @@ allprojects { google() mavenCentral() } - plugins.withId("com.vanniktech.maven.publish") { - mavenPublish { - sonatypeHost = "S01" - } - } } task clean(type: Delete) { diff --git a/gradle.properties b/gradle.properties index 9e6d4f1..cf7a73a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,25 +2,5 @@ android.useAndroidX=true android.enableJetifier=true android.debug.obsoleteApi=true -VERSION_CODE=21 -VERSION_NAME=2.4.13 - -GROUP=io.github.ShawnLin013 -POM_ARTIFACT_ID=number-picker - -POM_NAME=Number Picker -POM_DESCRIPTION=The android library that provides a simple and customizable NumberPicker. -POM_INCEPTION_YEAR=2021 -POM_URL=https://github.com/ShawnLin013/NumberPicker - -POM_LICENCE_NAME=MIT -POM_LICENCE_URL=https://opensource.org/licenses/MIT -POM_LICENCE_DIST=repo - -POM_SCM_URL=https://github.com/ShawnLin013/NumberPicker -POM_SCM_CONNECTION=scm:git@github.com:ShawnLin013/NumberPicker.git -POM_SCM_DEV_CONNECTION=scm:git@github.com:ShawnLin013/NumberPicker.git - -POM_DEVELOPER_ID=ShawnLin013 -POM_DEVELOPER_NAME=Shawn Lin -POM_DEVELOPER_URL=https://github.com/ShawnLin013/NumberPicker \ No newline at end of file +VERSION_CODE=23 +VERSION_NAME=2.4.15 \ No newline at end of file diff --git a/library/build.gradle b/library/build.gradle index 1596a4b..35f2259 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.library' -apply plugin: 'com.vanniktech.maven.publish' android { compileSdkVersion 30 @@ -7,12 +6,12 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 30 - versionCode VERSION_CODE as int - versionName VERSION_NAME + versionCode 23 + versionName "2.4.15" } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.3.0' + implementation 'androidx.appcompat:appcompat:1.3.1' } diff --git a/sample/build.gradle b/sample/build.gradle index a508079..e0cdab3 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -20,7 +20,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.3.0' - implementation 'com.google.android.material:material:1.4.0-beta01' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.5.0-alpha02' implementation project(':library') }