-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from rundeck/feature/lib2
refactor to create separate client api lib
- Loading branch information
Showing
100 changed files
with
233 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/.idea | ||
/build | ||
*/build | ||
*/out | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
} | ||
plugins{ | ||
id 'de.fuerstenau.buildconfig' version '1.1.8' | ||
} | ||
|
||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
maven { url "https://jitpack.io" } | ||
} | ||
|
||
|
||
apply plugin: 'idea' | ||
apply plugin: 'groovy' | ||
apply plugin: 'de.fuerstenau.buildconfig' | ||
|
||
/** | ||
* Generates java source with embedded version info | ||
*/ | ||
buildConfig { | ||
clsName = 'Version' | ||
packageName = 'org.rundeck.client' | ||
} | ||
|
||
|
||
dependencies { | ||
|
||
compileOnly "org.projectlombok:lombok:1.16.16" | ||
|
||
compile 'com.squareup.retrofit2:retrofit:2.1.0' | ||
compile 'com.squareup.retrofit2:converter-jackson:2.1.0' | ||
compile 'com.squareup.retrofit2:converter-simplexml:2.1.0' | ||
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1' | ||
compile 'com.squareup.okhttp3:okhttp-urlconnection:3.4.1' | ||
|
||
|
||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
testCompile 'com.squareup.retrofit2:retrofit-mock:2.1.0' | ||
testCompile 'com.squareup.okhttp3:mockwebserver:3.4.1' | ||
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.19' | ||
testCompile "org.codehaus.groovy:groovy-all:2.3.7" | ||
testCompile "org.spockframework:spock-core:0.7-groovy-2.0" | ||
} | ||
|
||
|
||
// produce a jar file for our test classes | ||
task testJar(type: Jar) { | ||
classifier = 'tests' | ||
from sourceSets.test.java | ||
} | ||
|
||
// produce a jar file for our source files | ||
task sourceJar(type: Jar) { | ||
classifier = 'sources' | ||
from sourceSets.main.java | ||
} | ||
|
||
// produce a jar file for our javadoc | ||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
|
||
if (JavaVersion.current().isJava8Compatible()) { | ||
tasks.withType(Javadoc) { | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
} | ||
|
||
// add all of the artifacts above to our archives list | ||
artifacts { | ||
archives testJar | ||
archives sourceJar | ||
archives javadocJar | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.