alfred-workflow for mvnrepository.com
Usage:
- open alfred. input
mvn
to start workflow. - you can search any keywords
- response will like
-
- press ⌘ will show artifact's description
- press ⌘+enter will open artifact's page eg. https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib
- press enter will enter next step
- response will like
-
-
press ⌘+enter will open artifact's page eg. https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib/1.3.11
-
press ⌃(ctrl)+enter will copy result as maven format. you could use it in your project's pom.xml file. eg.
<dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib</artifactId> <version>1.3.11</version> </dependency>
in this step, workflow will use default scope(without scope tag).
-
press ⇧(shift)+enter will copy result as gradle format. you could use it in your project's build.gradle file. eg.
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.3.11'
in this step, workflow will use compile configuration.
-