Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.
/ algs4-mvn-repo Public archive
forked from slok/algs4-mvn-repo

Maven repository for algorithms and data strcutures coursera course ( https://www.coursera.org/course/algs4partI )

Notifications You must be signed in to change notification settings

purumpum/algs4-mvn-repo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

These libraries aren't mine, this is only a maven repository. The copyright of this code belongs to the original authors not me

Maven repository for algorithms and data structures Coursera course

Maven setup

To add the libs to your project. Add this repository to <repositories> block:

<repository>
  <id>org.coursera.algs4</id>
  <name>Algs4 coursera course custom repository</name>
  <url>https://raw.github.com/slok/algs4-mvn-repo/master</url>
</repository>

And then the dependencies to <dependencies> block:

<dependency>
  <groupId>edu.princeton.cs.introcs</groupId>
  <artifactId>algs4-package</artifactId>
  <version>1.0</version>
</dependency>

<dependency>
  <groupId>edu.princeton.cs.introcs</groupId>
  <artifactId>stdlib-package</artifactId>
  <version>1.0</version>
</dependency>

Alternatively to use dependencies without packages use the following dependencies.

<dependency>
  <groupId>org.coursera.algs4.algs4</groupId>
  <artifactId>algs4</artifactId>
  <version>1.0</version>
</dependency>

<dependency>
  <groupId>org.coursera.algs4.stdlib</groupId>
  <artifactId>stdlib</artifactId>
  <version>1.0</version>
</dependency>

In August 2015 the authors have merged stdlib into algs4.jar and moved classes into 'edu.princeton.cs.algs4' package. To use this variant add the following dependency:

<dependency>
  <groupId>edu.princeton.cs.algs4</groupId>
  <artifactId>algs4</artifactId>
  <version>1.0</version>
</dependency>

Gradle setup

To use this dependency with Gradle build add the following line to the repositories section:

repositories {
	maven { url 'https://raw.github.com/slok/algs4-mvn-repo/master' }
}

and declare this compile time dependency:

dependencies {
	compile 'edu.princeton.cs.algs4:algs4:1.0'
}	

About

Maven repository for algorithms and data strcutures coursera course ( https://www.coursera.org/course/algs4partI )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published