Skip to content

Commit 4479838

Browse files
committed
Updating JQuery Maven Artifact Plugin to version 2.0.0 to make use of the "packaging" property so it looks for an AAR instead of a JAR
1 parent a9c5301 commit 4479838

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

website/index.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h4>Debug Indicators</h4>
112112
<p class="screenshot"><img src="static/debug.png" alt="Debug ribbon indicators"></p>
113113

114114
<h3 id="download">Download</h3>
115-
<p><a href="https://search.maven.org/remote_content?g=com.squareup.picasso3&a=picasso&v=LATEST" class="dl version-href">&darr; <span class="version-tag">Latest</span> JAR</a></p>
115+
<p><a href="https://search.maven.org/remote_content?g=com.squareup.picasso3&a=picasso&v=LATEST" class="dl version-href">&darr; <span class="version-tag">Latest</span> AAR</a></p>
116116
<p>The source code to the Picasso, its samples, and this website is <a href="http://github.com/square/picasso">available on GitHub</a>.</p>
117117

118118
<h4>Maven</h4>
@@ -196,12 +196,16 @@ <h3 id="license">License</h3>
196196
});
197197

198198
// Look up the latest version of the library.
199-
$.fn.artifactVersion('com.squareup.picasso3', 'picasso', function(version, url) {
200-
$('.version').text(version);
201-
$('.version-tag').text('v' + version);
202-
$('.version-href').attr('href', url);
199+
$.fn.artifactVersion({
200+
'groupId': 'com.squareup.picasso',
201+
'artifactId': 'picasso',
202+
'packaging': 'aar'
203+
}, function (version, url) {
204+
$('.version').text(version);
205+
$('.version-tag').text('v' + version);
206+
$('.version-href').attr('href', url);
207+
});
203208
});
204-
});
205209
</script>
206210
</body>
207211
</html>

website/static/jquery-maven-artifact.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)