Skip to content

Commit

Permalink
[Feature] Publish to maven central and bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Jun 14, 2021
1 parent f0207d3 commit 4635851
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 94 deletions.
74 changes: 0 additions & 74 deletions bintray-android.gradle

This file was deleted.

7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+'
}
}

allprojects {
group GROUP
version VERSION
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
19 changes: 7 additions & 12 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,18 @@ android.enableJetifier=true
android.useAndroidX=true

GROUP=me.zhanghai.android.linenoise
VERSION=1.0.0
VERSION_CODE=1
VERSION=1.0.1
VERSION_CODE=2

POM_DESCRIPTION=Linenoise for Android
POM_URL=https://github.com/zhanghai/linenoise-android
POM_INCEPTION_YEAR=2020
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=zhanghai
POM_DEVELOPER_NAME=Hai Zhang
POM_DEVELOPER_EMAIL=dreaming.in.code.zh@gmail.com
POM_DEVELOPER_URL=https://github.com/zhanghai
POM_SCM_CONNECTION=scm:git@github.com:zhanghai/linenoise-android.git
POM_SCM_DEVELOPER_CONNECTION=scm:git@github.com:zhanghai/linenoise-android.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:zhanghai/linenoise-android.git
POM_SCM_URL=https://github.com/zhanghai/linenoise-android

BINTRAY_USER=zhanghai
BINTRAY_REPO=linenoise-android
BINTRAY_ISSUE_TRACKER_URL=https://github.com/zhanghai/linenoise-android/issues
BINTRAY_VCS_URL=https://github.com/zhanghai/linenoise-android
BINTRAY_GITHUB_REPO=zhanghai/linenoise-android
BINTRAY_LICENSE=Apache-2.0
POM_URL=https://github.com/zhanghai/linenoise-android
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ dependencies {

buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.1'
}
}
apply from: '../bintray-android.gradle'
apply plugin: 'com.vanniktech.maven.publish'
1 change: 1 addition & 0 deletions library/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
POM_NAME=linenoise-android Library

0 comments on commit 4635851

Please sign in to comment.