Skip to content

Commit

Permalink
Issue #34 New publish.gradle file that generates and uploads AAR and …
Browse files Browse the repository at this point in the history
…JAR files to Sonatype.
  • Loading branch information
BigBadaboom committed Aug 11, 2018
1 parent eed3aca commit 668ee7f
Show file tree
Hide file tree
Showing 22 changed files with 65 additions and 60 deletions.
7 changes: 6 additions & 1 deletion androidsvg/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ publishing {
artifactId = artifactIdAAR
groupId = group

artifact("${buildDir}/outputs/aar/androidsvg-release.aar") {
// wrap in a closure because this task isn't defined 'till
// the android plugin finishes
builtBy { tasks["assembleRelease"] }
}
artifact sourcesJar
artifact javadocJar

Expand Down Expand Up @@ -161,6 +166,6 @@ task libraryJar(type: Jar, dependsOn: 'compileReleaseJavaWithJavac') {
}

signing {
// sign publishing.publications.mavenAAR
sign publishing.publications.mavenAAR
sign publishing.publications.mavenJAR
}
4 changes: 2 additions & 2 deletions doc/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>All Classes (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>All Classes (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions doc/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>All Classes (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>All Classes (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>PreserveAspectRatio.Alignment (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>PreserveAspectRatio.Alignment (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PreserveAspectRatio.Alignment (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="PreserveAspectRatio.Alignment (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/PreserveAspectRatio.Scale.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>PreserveAspectRatio.Scale (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>PreserveAspectRatio.Scale (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PreserveAspectRatio.Scale (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="PreserveAspectRatio.Scale (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/PreserveAspectRatio.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>PreserveAspectRatio (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>PreserveAspectRatio (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PreserveAspectRatio (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="PreserveAspectRatio (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/RenderOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>RenderOptions (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>RenderOptions (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RenderOptions (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="RenderOptions (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/SVG.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>SVG (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>SVG (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SVG (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="SVG (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/SVGExternalFileResolver.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>SVGExternalFileResolver (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>SVGExternalFileResolver (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SVGExternalFileResolver (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="SVGExternalFileResolver (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/SVGImageView.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>SVGImageView (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>SVGImageView (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SVGImageView (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="SVGImageView (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/SVGParseException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>SVGParseException (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>SVGParseException (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SVGParseException (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="SVGParseException (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/SimpleAssetResolver.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:17 NZST 2018 -->
<title>SimpleAssetResolver (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>SimpleAssetResolver (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SimpleAssetResolver (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="SimpleAssetResolver (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions doc/com/caverock/androidsvg/package-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>com.caverock.androidsvg (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>com.caverock.androidsvg (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/package-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>com.caverock.androidsvg (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>com.caverock.androidsvg (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.caverock.androidsvg (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="com.caverock.androidsvg (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/com/caverock/androidsvg/package-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>com.caverock.androidsvg Class Hierarchy (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>com.caverock.androidsvg Class Hierarchy (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="../../../javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.caverock.androidsvg Class Hierarchy (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="com.caverock.androidsvg Class Hierarchy (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>Constant Field Values (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>Constant Field Values (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="Constant Field Values (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>Deprecated List (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>Deprecated List (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="Deprecated List (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>API Help (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>API Help (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="API Help (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>Index (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>Index (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="Index (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>androidsvg 1.3-SNAPSHOT API</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>androidsvg 1.3 API</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
Expand Down
6 changes: 3 additions & 3 deletions doc/overview-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 01:27:18 NZST 2018 -->
<title>Class Hierarchy (androidsvg 1.3-SNAPSHOT API)</title>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Aug 12 05:57:34 NZST 2018 -->
<title>Class Hierarchy (androidsvg 1.3 API)</title>
<meta name="date" content="2018-08-12">
<link rel="stylesheet" type="text/css" href="javadoc-stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand All @@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (androidsvg 1.3-SNAPSHOT API)";
parent.document.title="Class Hierarchy (androidsvg 1.3 API)";
}
}
catch(err) {
Expand Down
Loading

0 comments on commit 668ee7f

Please sign in to comment.