forked from jjoe64/GraphView
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Move to bintray #3
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
008ce7a
Update gradle
aforcier 03ca017
Remove Sonatype config and use Bintray instead
aforcier 7041178
Fix Javadoc errors
aforcier c135f7b
Add bintray reference to README
aforcier 76cf844
Bump version to 3.4.1
aforcier 5fe24ee
Correct license, should be LGPL
aforcier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,44 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.1.0' | ||
classpath 'com.android.tools.build:gradle:2.3.3' | ||
classpath 'com.novoda:bintray-release:0.5.0' | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven' | ||
apply plugin: 'signing' | ||
apply plugin: 'com.novoda.bintray-release' // must be applied after your artifact generating plugin (eg. java / com.android.library) | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
android { | ||
publishNonDefault true | ||
|
||
compileSdkVersion 19 | ||
buildToolsVersion "21.1.2" | ||
buildToolsVersion "25.0.3" | ||
|
||
defaultConfig { | ||
versionName "3.4.0" | ||
versionName "3.4.1" | ||
versionCode 1 | ||
minSdkVersion 8 | ||
targetSdkVersion 19 | ||
} | ||
} | ||
|
||
signing { | ||
required { | ||
has("release") && project.properties.containsKey("signing.keyId") && project.properties.containsKey("signing.secretKeyRingFile") | ||
} | ||
sign configurations.archives | ||
} | ||
|
||
|
||
version android.defaultConfig.versionName | ||
group = "org.wordpress" | ||
archivesBaseName = "graphview" | ||
|
||
// http://central.sonatype.org/pages/gradle.html | ||
|
||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { | ||
authentication(userName: project.properties.ossrhUsername, password: project.properties.ossrhPassword) | ||
} | ||
|
||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { | ||
authentication(userName: project.properties.ossrhUsername, password: project.properties.ossrhPassword) | ||
} | ||
|
||
pom.project { | ||
name 'GraphView' | ||
packaging 'aar' | ||
description 'Android Graph Library for creating zoomable and scrollable line and bar graphs.' | ||
url 'https://github.com/wordpress-mobile/GraphView' | ||
scm { | ||
connection 'scm:git:https://github.com/wordpress-mobile/GraphView.git' | ||
developerConnection 'scm:git:https://github.com/wordpress-mobile/GraphView.git' | ||
url 'https://github.com/wordpress-mobile/GraphView' | ||
} | ||
|
||
licenses { | ||
license { | ||
name 'The GPLv2 License' | ||
url 'https://www.gnu.org/licenses/old-licenses/gpl-2.0.html' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id 'daniloercoli' | ||
name 'Danilo Ercoli' | ||
email '[email protected]' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
publish { | ||
artifactId = 'graphview' | ||
userOrg = 'wordpress-mobile' | ||
groupId = 'org.wordpress' | ||
uploadName = 'graphview' | ||
description = 'Android library for programmatic visual diagram creation' | ||
publishVersion = android.defaultConfig.versionName | ||
licences = ['GPL-2.0'] | ||
website = 'https://github.com/wordpress-mobile/GraphView' | ||
dryRun = 'false' | ||
autoPublish = 'true' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Licence is LGPL: https://github.com/wordpress-mobile/GraphView/blob/develop/license.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack. Looks like the old license for sonatype was wrong too. Should I push a new version with the updated license?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the license part in 5fe24ee.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleted and re-uploaded
3.4.1
with the fixed license.