Gradle equivalent of > pod search 'keyword'


(John Pope) #1

I’ve just been thrown onto an android project from IOS. I want to get a lay of the land of projects using gradle.

The biggest traction I can see is with the android bootstrap project on github.

Here in the source - the developer is referencing an external mavern repo he is hosting on github to help amalgamate disparate plugins. This seems a bad approach.

Cocoapods is more streamlined. It’s updated centrally.

when I search from the command line - it’s basically trawling through thousands of specs here

AlexDenisov authored 8 minutes ago 500px-iOS-api Version 1.0.5 of the 500PX API 22 days ago A2DynamicDelegate Add A2DynamicDelegate 2.0.2 version. a year ago A2StoryboardSegueContext [Update] A2StoryboardSegueContext (1.0.1) 2 years ago A3GridTableView Fixed for lint. 11 months ago AAActivityAction Added AAActivityAction 1.0.1 a month ago AAImageUtils Add AAImageUtils v0.1.0 11 months ago AALaunchTransition [Update] AALaunchTransition (0.1.3) 9 months ago ABCalendarPicker Added ABCalendarPicker version 1.1.2 5 months ago ABContactHelper ABContactHelper spec 2 years ago ABCustomUINavigationController removing .framework extension from list of frameworks 2 months ago ABGetMe [Fix] ABGetMe. a year ago ABMultiton Added ‘ABMultiton’ podspec for version 1.2.1 5 months ago ABRequestManager Added podspec for ‘ABRequestManager’ 4 months ago ABTest Added ABTest podspec a month ago ACEAutocompleteBar ACEAutocompleteBar first stable release 6 months ago ACEDrawingView Moved all Apache 2 variants to ‘Apache License, Version 2.0’ 4 months ago ACEExpandableTextCell added minimun target 5 months ago ACEToolKit updated ACEToolKit 4 months ago ACEView Updated version number 10 months ago

This really helps save development time and effort.

JPs-iMac-46:~ jp$ pod search uitable

-> SLUITableViewCellSectionLocation (1.0.0)

UITableViewCellSectionLocation made public.

pod ‘SLUITableViewCellSectionLocation’, ‘~> 1.0.0’

  • Versions: 1.0.0 [master repo]

-> UITableView-NXEmptyView (0.1.4)

A category on UITableView that adds an empty view that can be shown whenever the table view has no cells.

pod ‘UITableView-NXEmptyView’, ‘~> 0.1.4’

  • Versions: 0.1.4, 0.1.3, 0.1.2, 0.1.0 [master repo]

how hard is it to do this with gradle?

can’t you get developers to help build this? you just need to say - validate your gradle file -

and create a pull request.


(John Pope) #2

for reference - this is the most extensive repo library I’ve seen.

https://github.com/donnfelker/mvn-repo

there’s about 10 folders.

Here’s the android project that references it. https://github.com/donnfelker/android-bootstrap/tree/gradle-appcompat-wip

repositories {

maven { url ‘https://github.com/donnfelker/mvn-repo/raw/master/’ }

mavenLocal()

mavenCentral() }