Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mvn support

  • Loading branch information...
commit e056832f0086255061732a6b08bba023e877883a 1 parent b12bda7
@jberkel jberkel authored
Showing with 78 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +17 −0 build.gradle
  3. +60 −0 pom.xml
View
1  .gitignore
@@ -6,3 +6,4 @@
build/
out
*.ser
+target/
View
17 build.gradle
@@ -1,6 +1,7 @@
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
+apply plugin: 'maven'
sourceCompatibility = 1.6
version = '1.0.0-SNAPSHOT'
@@ -50,3 +51,19 @@ task(getResource, dependsOn: ['compileJava', 'compileExamplesJava']) << {
systemProperties httpDebug
}
}
+
+task writePom << {
+ pom {
+ project {
+ groupId 'com.soundcloud'
+ inceptionYear '2011'
+ licenses {
+ license {
+ name 'The MIT License'
+ url 'https://github.com/soundcloud/java-api-wrapper/raw/master/LICENSE'
+ distribution 'repo'
+ }
+ }
+ }
+ }.writeTo("pom.xml")
+}
View
60 pom.xml
@@ -0,0 +1,60 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.soundcloud</groupId>
+ <artifactId>java-api-wrapper</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <inceptionYear>2011</inceptionYear>
+ <licenses>
+ <license>
+ <name>The MIT License</name>
+ <url>https://github.com/soundcloud/java-api-wrapper/raw/master/LICENSE</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <dependencies>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <version>1.3.RC2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpmime</artifactId>
+ <version>4.0.1</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ <version>20090211</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>1.8.5</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>4.0.3</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit-dep</artifactId>
+ <version>4.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>1.3.RC2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
Please sign in to comment.
Something went wrong with that request. Please try again.