MVN

dev.mitchdenny.trash : mylib

Maven & Gradle

Jul 19, 2019
0 stars

mylib · Simple little Java code base that I'm using to understand publishing to OSSRH.

<dependency>
    <groupId>dev.mitchdenny.trash</groupId>
    <artifactId>mylib</artifactId>
    <version>1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of dev.mitchdenny.trash : mylib to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0

All Versions

Choose a version of dev.mitchdenny.trash : mylib to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0
mylib-1.0

How to add a dependency to Maven

Add the following dev.mitchdenny.trash : mylib maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>dev.mitchdenny.trash</groupId>
    <artifactId>mylib</artifactId>
    <version>1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following dev.mitchdenny.trash : mylib gradle dependency to your build.gradle file:

implementation 'dev.mitchdenny.trash:mylib:1.0'

Gradle Kotlin DSL: Add the following dev.mitchdenny.trash : mylib gradle kotlin dependency to your build.gradle.kts file:

implementation("dev.mitchdenny.trash:mylib:1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following dev.mitchdenny.trash : mylib sbt scala dependency to your build.sbt file:

libraryDependencies += "dev.mitchdenny.trash" % "mylib" % "1.0"

Advertisement