Skip to content

Commit

Permalink
Prepare release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lcdsmao committed Mar 2, 2021
1 parent c58b89e commit b1a4655
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.novoda:bintray-release:0.9.2'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.20'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
13 changes: 13 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,16 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official

POM_NAME=android-tab-animation
POM_DESCRIPTION=Easily create TabLayout.Tab animations that sync with the scrolling progress of ViewPager.
POM_INCEPTION_YEAR=2021

POM_URL=https://github.com/cats-oss/android-tab-animation/
POM_SCM_URL=https://github.com/cats-oss/android-tab-animation/
POM_SCM_CONNECTION=scm:git:git://github.com/cats-oss/android-tab-animation.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/cats-oss/android-tab-animation.git

POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=https://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
13 changes: 1 addition & 12 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.novoda.bintray-release'
apply plugin: "com.vanniktech.maven.publish"

android {
compileSdkVersion compile_sdk_version
Expand Down Expand Up @@ -34,14 +34,3 @@ dependencies {
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}

publish {
bintrayUser = project.hasProperty('bintrayUser') ? bintrayUser : ''
bintrayKey = project.hasProperty('bintrayKey') ? bintrayKey : ''
userOrg = 'cats-oss'
groupId = 'jp.co.cyberagent.android'
artifactId = 'tab-animation'
publishVersion = version_name
desc = 'Easily create TabLayout.Tab animations that sync with the scrolling progress of ViewPager'
website = 'https://github.com/cats-oss/android-tab-animation'
}

0 comments on commit b1a4655

Please sign in to comment.