This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using plugindev to release the plugin through jcenter and gradle plug…
…in repository
- Loading branch information
Showing
2 changed files
with
27 additions
and
39 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,8 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1', | ||
'com.github.townsfolk:gradle-release:1.2' | ||
} | ||
plugins { | ||
id 'nu.studer.plugindev' version '1.0.3' | ||
} | ||
|
||
apply plugin: 'java-gradle-plugin' | ||
apply plugin: 'maven' | ||
apply plugin: 'nexus' | ||
apply plugin: 'signing' | ||
apply plugin: 'release' | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
|
@@ -26,31 +14,32 @@ dependencies { | |
sourceCompatibility = 1.6 | ||
targetCompatibility = 1.6 | ||
|
||
modifyPom { | ||
project { | ||
name 'Gradle Android Maven plugin' | ||
description 'Modification to the standard Maven plugin to be compatible with android-library projects (aar).' | ||
url 'https://github.com/dcendents/android-maven-plugin' | ||
inceptionYear '2013' | ||
|
||
scm { | ||
url 'https://github.com/dcendents/android-maven-plugin' | ||
connection 'scm:https://github.com/dcendents/android-maven-plugin.git' | ||
developerConnection 'scm:git://github.com/dcendents/android-maven-plugin.git' | ||
} | ||
|
||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0' | ||
} | ||
} | ||
plugindev { | ||
pluginId = 'com.github.dcendents.android-maven' | ||
pluginImplementationClass 'org.gradle.api.plugins.AndroidMavenPlugin' | ||
pluginName 'Gradle Android Maven plugin' | ||
pluginDescription 'Modification to the standard Maven plugin to be compatible with android-library projects (aar).' | ||
pluginLicenses 'Apache-2.0' | ||
pluginTags 'gradle', 'plugin', 'android', 'maven' | ||
authorId 'dcendents' | ||
authorName 'Daniel Beland' | ||
authorEmail '[email protected]' | ||
projectUrl 'https://github.com/dcendents/android-maven-plugin' | ||
projectInceptionYear '2013' | ||
done() // do not omit this | ||
} | ||
|
||
developers { | ||
developer { | ||
id 'dcendents' | ||
name 'Daniel Beland' | ||
email '[email protected]' | ||
bintray { | ||
user = "${bintrayUsername}" | ||
key = "${bintrayApiKey}" | ||
|
||
dryRun = false | ||
publish = true | ||
pkg { | ||
repo = 'gradle-plugins' | ||
version { | ||
gpg { | ||
sign = true | ||
} | ||
} | ||
} | ||
|
1 change: 0 additions & 1 deletion
1
src/main/resources/META-INF/gradle-plugins/com.github.dcendents.android-maven.properties
This file was deleted.
Oops, something went wrong.