Skip to content

Instantly share code, notes, and snippets.

@janko
Last active August 29, 2015 14:13
Show Gist options
  • Save janko/69d1b9f0c852d03ba23c to your computer and use it in GitHub Desktop.
Save janko/69d1b9f0c852d03ba23c to your computer and use it in GitHub Desktop.
Specifying dependencies: Java vs Ruby vs Node
source "https://rubygems.org"
gem "rspec", "~> 3.1"
gem "rspec-rails", "~> 3.1"
{
...
"devDependencies": {
"qunit-extras": "^1.3.0",
"qunitjs": "^1.16.0"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment