Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to GradleMavenPush https://github.com/Vorlonsoft/GradleMavenPush #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-plugin:1.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -19,4 +17,4 @@ allprojects {
repositories {
jcenter()
}
}
}
1 change: 0 additions & 1 deletion demo-project/DrawAPictiure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
2 changes: 1 addition & 1 deletion demo-project/DrawAPictiure/cirlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}

// apply from: '../gradle-mvn-push.gradle'
// apply from: 'https://raw.github.com/Vorlonsoft/GradleMavenPush/master/maven-push.gradle'
87 changes: 0 additions & 87 deletions demo-project/DrawAPictiure/color-picker-view/bintrayupl.gradle

This file was deleted.

26 changes: 1 addition & 25 deletions demo-project/DrawAPictiure/color-picker-view/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,4 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}

ext {
bintrayRepo = 'maven'
bintrayName = 'color-picker-view'

publishedGroupId = 'afzkl.development'
libraryName = 'ColorPickerView'
artifact = 'color-picker-view'

libraryDescription = 'A simple good looking color picker component for Android.'

siteUrl = 'https://github.com/danielnilsson9/color-picker-view'
gitUrl = 'https://github.com/danielnilsson9/color-picker-view.git'

libraryVersion = '1.3.0'

developerId = 'danielnilsson9'
developerName = 'Daniel Nilsson'
developerEmail = '[email protected]'

licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}

apply from: 'bintrayupl.gradle'
apply from: 'https://raw.github.com/Vorlonsoft/GradleMavenPush/master/maven-push.gradle'
22 changes: 22 additions & 0 deletions demo-project/DrawAPictiure/color-picker-view/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
IS_JCENTER = true
NEXUS_USERNAME = ...
NEXUS_PASSWORD = ...

signing.keyId = ...
signing.password = ...
signing.secretKeyRingFile = ...

POM_ARTIFACT_ID = color-picker-view
POM_NAME = ColorPickerView

GROUP = afzkl.development
VERSION_NAME = 1.3.0

POM_DESCRIPTION = A simple good looking color picker component for Android.
POM_URL = https://github.com/danielnilsson9/color-picker-view
POM_LICENCE_NAME = The Apache Software License, Version 2.0
POM_LICENCE_URL = http://www.apache.org/licenses/LICENSE-2.0.txt
POM_DEVELOPER_ID = danielnilsson9
POM_DEVELOPER_NAME = Daniel Nilsson
POM_DEVELOPER_EMAIL = [email protected]
POM_SCM_CONNECTION = scm:[email protected]:danielnilsson9/color-picker-view.git
4 changes: 2 additions & 2 deletions demo-project/DrawAPictiure/materiallog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
dependencies {

}
//apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
apply from: './gradle-mvn-push.gradle'

apply from: 'https://raw.github.com/Vorlonsoft/GradleMavenPush/master/maven-push.gradle'



114 changes: 0 additions & 114 deletions demo-project/DrawAPictiure/materiallog/gradle-mvn-push.gradle

This file was deleted.

7 changes: 2 additions & 5 deletions demo-project/DrawAPictiure/materiallog/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@

POM_NAME=MaterialDialog Library
POM_ARTIFACT_ID=library
POM_PACKAGING=aar

VERSION_NAME=1.2.3
VERSION_CODE=9
GROUP=me.drakeet.materialdialog

POM_DESCRIPTION=An Android library for conveniently building Material Design Dialog in Android version 2.2 ~ L.
POM_URL=https://github.com/drakeet/MaterialDialog
POM_SCM_URL=https://github.com/drakeet/MaterialDialog
POM_SCM_CONNECTION=scm:[email protected]:drakeet/MaterialDialog.git
POM_SCM_DEV_CONNECTION=scm:[email protected]:drakeet/MaterialDialog.git
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=drakeet
POM_DEVELOPER_NAME=drakeet
POM_DEVELOPER_NAME=drakeet
[email protected]
15 changes: 6 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#project
project.name=just-we-tools
project.groupId=com.github.lfkdsk
project.artifactId=just-we-tools
project.packaging=aar
project.siteUrl=https://github.com/lfkdsk/JustWeTools
project.gitUrl=https://github.com/lfkdsk/JustWeTools.git
project.packageName=com.lfk.justwetools
#javadoc
javadoc.name=just-we-tools
GROUP = com.github.lfkdsk

POM_ARTIFACT_ID = just-we-tools
POM_NAME = just-we-tools
POM_URL = https://github.com/lfkdsk/JustWeTools
POM_SCM_CONNECTION = scm:[email protected]:lfkdsk/JustWeTools.git
26 changes: 2 additions & 24 deletions simple/build.gradle
Original file line number Diff line number Diff line change
@@ -1,28 +1,4 @@
apply plugin: 'com.android.application'
ext {

bintrayRepo = 'maven'
bintrayName = 'just-we-tools'

publishedGroupId = 'com.github.lfkdsk'
libraryName = 'just-we-tools'
artifact = 'just-we-tools'

libraryDescription = 'Some useful tools'

siteUrl = 'https://github.com/lfkdsk/JustWeTools'
gitUrl = 'https://github.com/lfkdsk/JustWeTools.git'

libraryVersion = '0.9.2'

developerId = 'JustWe'
developerName = 'lfkdsk'
developerEmail = '[email protected]'

licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
Expand Down Expand Up @@ -50,3 +26,5 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.1.1'
compile project(':justwetools')
}

apply from: 'https://raw.github.com/Vorlonsoft/GradleMavenPush/master/maven-push.gradle'
Loading