forked from GrupoCorasa/cfdi-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·384 lines (374 loc) · 17.4 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
plugins {
id 'java'
id "de.undercouch.download" version "4.0.4"
id "com.github.edeandrea.xjc-generation" version "1.6"
id "maven-publish"
id "co.uzzu.dotenv.gradle" version "1.2.0"
}
apply from: 'download.gradle'
// Cambiado paquete para diferenciar los proyectos
group 'mx.openpay'
version '4.0.10'
publishing {
repositories {
maven {
name = "nexus"
url = uri(project.hasProperty('nexusUrl') ? project.property('nexusUrl') : '')
credentials {
username project.hasProperty('nexusUser') ? project.property('nexusUser') : ''
password project.hasProperty('nexusPassword') ? project.property('nexusPassword') : ''
}
}
}
publications {
maven(MavenPublication) {
from components.java
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
ext {
jaxbVersion = '2.2.11'
}
//***DO NOT EDIT*** FROM HERE
//START OF XJC-GEN
xjcGeneration {
defaultAdditionalXjcOptions = ['encoding': 'UTF-8']
schemas {
mx_grupocorasa_sat_common_ecc {
bindingFile = 'src/main/resources/bindingFiles/ecc_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ecc/ecc.xsd'
}
mx_grupocorasa_sat_common_donat10 {
bindingFile = 'src/main/resources/bindingFiles/donat_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/donat/donat.xsd'
}
mx_grupocorasa_sat_common_divisas10 {
bindingFile = 'src/main/resources/bindingFiles/divisas_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/divisas/divisas.xsd'
}
mx_grupocorasa_sat_common_ecb10 {
bindingFile = 'src/main/resources/bindingFiles/ecb_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ecb/ecb.xsd'
}
mx_grupocorasa_sat_common_detallista {
bindingFile = 'src/main/resources/bindingFiles/detallista_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/detallista/detallista.xsd'
}
mx_grupocorasa_sat_common_implocal10 {
bindingFile = 'src/main/resources/bindingFiles/implocal_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/implocal/implocal.xsd'
}
mx_grupocorasa_sat_common_terceros10 {
bindingFile = 'src/main/resources/bindingFiles/terceros_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/terceros/terceros.xsd'
}
mx_grupocorasa_sat_common_iedu10 {
bindingFile = 'src/main/resources/bindingFiles/iedu_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/iedu/iedu.xsd'
}
mx_grupocorasa_sat_cfd_30 {
bindingFile = 'src/main/resources/bindingFiles/cfdv3_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/cfd/3/cfdv3.xsd'
}
mx_grupocorasa_sat_common_TimbreFiscalDigital10 {
bindingFile = 'src/main/resources/bindingFiles/TimbreFiscalDigital_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/TimbreFiscalDigital/TimbreFiscalDigital.xsd'
}
mx_grupocorasa_sat_common_EstadoDeCuentaCombustible11 {
bindingFile = 'src/main/resources/bindingFiles/ecc11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/EstadoDeCuentaCombustible/ecc11.xsd'
}
mx_grupocorasa_sat_common_donat11 {
bindingFile = 'src/main/resources/bindingFiles/donat11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/donat/donat11.xsd'
}
mx_grupocorasa_sat_common_leyendasFiscales10 {
bindingFile = 'src/main/resources/bindingFiles/leyendasFisc_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/leyendasFiscales/leyendasFisc.xsd'
}
mx_grupocorasa_sat_common_pfic10 {
bindingFile = 'src/main/resources/bindingFiles/pfic_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/pfic/pfic.xsd'
}
mx_grupocorasa_sat_common_TuristaPasajeroExtranjero10 {
bindingFile = 'src/main/resources/bindingFiles/TuristaPasajeroExtranjero_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/TuristaPasajeroExtranjero/TuristaPasajeroExtranjero.xsd'
}
mx_grupocorasa_sat_common_nomina12 {
bindingFile = 'src/main/resources/bindingFiles/nomina12_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/nomina/nomina12.xsd'
}
mx_grupocorasa_sat_common_catalogos {
bindingFile = 'src/main/resources/bindingFiles/catCFDI_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/catCFDI.xsd'
}
mx_grupocorasa_sat_common_tipoDatos_tdCFDI {
bindingFile = 'src/main/resources/bindingFiles/tdCFDI_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/tipoDatos/tdCFDI/tdCFDI.xsd'
}
mx_grupocorasa_sat_common_catalogos_Nomina {
bindingFile = 'src/main/resources/bindingFiles/catNomina_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/Nomina/catNomina.xsd'
}
mx_grupocorasa_sat_common_cfdiregistrofiscal10 {
bindingFile = 'src/main/resources/bindingFiles/cfdiregistrofiscal_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/cfdiregistrofiscal/cfdiregistrofiscal.xsd'
}
mx_grupocorasa_sat_common_pagoenespecie10 {
bindingFile = 'src/main/resources/bindingFiles/pagoenespecie_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/pagoenespecie/pagoenespecie.xsd'
}
mx_grupocorasa_sat_common_aerolineas10 {
bindingFile = 'src/main/resources/bindingFiles/aerolineas_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/aerolineas/aerolineas.xsd'
}
mx_grupocorasa_sat_common_valesdedespensa10 {
bindingFile = 'src/main/resources/bindingFiles/valesdedespensa_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/valesdedespensa/valesdedespensa.xsd'
}
mx_grupocorasa_sat_common_consumodecombustibles10 {
bindingFile = 'src/main/resources/bindingFiles/consumodecombustibles_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/consumodecombustibles/consumodecombustibles.xsd'
}
mx_grupocorasa_sat_common_notariospublicos10 {
bindingFile = 'src/main/resources/bindingFiles/notariospublicos_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/notariospublicos/notariospublicos.xsd'
}
mx_grupocorasa_sat_common_vehiculousado10 {
bindingFile = 'src/main/resources/bindingFiles/vehiculousado_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/vehiculousado/vehiculousado.xsd'
}
mx_grupocorasa_sat_common_servicioparcialconstruccion10 {
bindingFile = 'src/main/resources/bindingFiles/servicioparcialconstruccion_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/servicioparcialconstruccion/servicioparcialconstruccion.xsd'
}
mx_grupocorasa_sat_common_renovacionysustitucionvehiculos10 {
bindingFile = 'src/main/resources/bindingFiles/renovacionysustitucionvehiculos_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/renovacionysustitucionvehiculos/renovacionysustitucionvehiculos.xsd'
}
mx_grupocorasa_sat_common_certificadodestruccion10 {
bindingFile = 'src/main/resources/bindingFiles/certificadodedestruccion_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/certificadodestruccion/certificadodedestruccion.xsd'
}
mx_grupocorasa_sat_common_arteantiguedades10 {
bindingFile = 'src/main/resources/bindingFiles/obrasarteantiguedades_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/arteantiguedades/obrasarteantiguedades.xsd'
}
mx_grupocorasa_sat_common_ComercioExterior11 {
bindingFile = 'src/main/resources/bindingFiles/ComercioExterior11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ComercioExterior11/ComercioExterior11.xsd'
}
mx_grupocorasa_sat_common_catalogos_ComExt {
bindingFile = 'src/main/resources/bindingFiles/catComExt_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/ComExt/catComExt.xsd'
}
mx_grupocorasa_sat_common_ine11 {
bindingFile = 'src/main/resources/bindingFiles/ine11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ine/ine11.xsd'
}
mx_grupocorasa_sat_common_ventavehiculos11 {
bindingFile = 'src/main/resources/bindingFiles/ventavehiculos11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ventavehiculos/ventavehiculos11.xsd'
}
mx_grupocorasa_sat_common_terceros11 {
bindingFile = 'src/main/resources/bindingFiles/terceros11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/terceros/terceros11.xsd'
}
mx_grupocorasa_sat_common_Pagos10 {
bindingFile = 'src/main/resources/bindingFiles/Pagos10_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/Pagos/Pagos10.xsd'
}
mx_grupocorasa_sat_common_catalogos_Pagos {
bindingFile = 'src/main/resources/bindingFiles/catPagos_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/Pagos/catPagos.xsd'
}
mx_grupocorasa_sat_common_EstadoDeCuentaCombustible12 {
bindingFile = 'src/main/resources/bindingFiles/ecc12_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/EstadoDeCuentaCombustible/ecc12.xsd'
}
mx_grupocorasa_sat_common_catalogos_Combustible {
bindingFile = 'src/main/resources/bindingFiles/catCombustible_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/Combustible/catCombustible.xsd'
}
mx_grupocorasa_sat_common_consumodecombustibles11 {
bindingFile = 'src/main/resources/bindingFiles/consumodeCombustibles11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/consumodecombustibles/consumodeCombustibles11.xsd'
}
mx_grupocorasa_sat_common_GastosHidrocarburos10 {
bindingFile = 'src/main/resources/bindingFiles/GastosHidrocarburos10_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/GastosHidrocarburos10/GastosHidrocarburos10.xsd'
}
mx_grupocorasa_sat_common_catalogos_hidrocarburos {
bindingFile = 'src/main/resources/bindingFiles/catHidrocarburos_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/hidrocarburos/catHidrocarburos.xsd'
}
mx_grupocorasa_sat_common_IngresosHidrocarburos10 {
bindingFile = 'src/main/resources/bindingFiles/IngresosHidrocarburos_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/IngresosHidrocarburos10/IngresosHidrocarburos.xsd'
}
mx_grupocorasa_sat_common_CartaPorte10 {
bindingFile = 'src/main/resources/bindingFiles/CartaPorte_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/CartaPorte/CartaPorte.xsd'
}
mx_grupocorasa_sat_common_catalogos_CartaPorte {
bindingFile = 'src/main/resources/bindingFiles/catCartaPorte_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/catalogos/CartaPorte/catCartaPorte.xsd'
}
mx_grupocorasa_sat_common_CartaPorte20 {
bindingFile = 'src/main/resources/bindingFiles/CartaPorte20_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/CartaPorte/CartaPorte20.xsd'
}
mx_grupocorasa_sat_cfd_33 {
bindingFile = 'src/main/resources/bindingFiles/cfdv33_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/cfd/3/cfdv33.xsd'
}
mx_grupocorasa_sat_common_TimbreFiscalDigital11 {
bindingFile = 'src/main/resources/bindingFiles/TimbreFiscalDigitalv11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd'
}
mx_grupocorasa_sat_common_psgecfd {
bindingFile = 'src/main/resources/bindingFiles/psgecfd_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/psgecfd/psgecfd.xsd'
}
mx_grupocorasa_sat_common_ventavehiculos10 {
bindingFile = 'src/main/resources/bindingFiles/ventavehiculos_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ventavehiculos/ventavehiculos.xsd'
}
mx_grupocorasa_sat_common_psgcfdsp10 {
bindingFile = 'src/main/resources/bindingFiles/psgcfdsp_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/psgcfdsp/psgcfdsp.xsd'
}
mx_grupocorasa_sat_cfd_22 {
bindingFile = 'src/main/resources/bindingFiles/cfdv22_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/cfd/2/cfdv22.xsd'
}
mx_grupocorasa_sat_common_Pagos20 {
bindingFile = 'src/main/resources/bindingFiles/Pagos20_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/Pagos/Pagos20.xsd'
}
mx_grupocorasa_sat_cfd_40 {
bindingFile = 'src/main/resources/bindingFiles/cfdv40_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/cfd/4/cfdv40.xsd'
}
mx_grupocorasa_sat_cfd_20 {
bindingFile = 'src/main/resources/bindingFiles/cfdv2_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/cfd/2/cfdv2.xsd'
}
mx_grupocorasa_sat_common_spei {
bindingFile = 'src/main/resources/bindingFiles/spei_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/spei/spei.xsd'
}
mx_grupocorasa_sat_common_nomina11 {
bindingFile = 'src/main/resources/bindingFiles/nomina11_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/nomina/nomina11.xsd'
}
mx_grupocorasa_sat_common_acreditamiento10 {
bindingFile = 'src/main/resources/bindingFiles/AcreditamientoIEPS10_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/acreditamiento/AcreditamientoIEPS10.xsd'
}
mx_grupocorasa_sat_common_ComercioExterior10 {
bindingFile = 'src/main/resources/bindingFiles/ComercioExterior10_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ComercioExterior/ComercioExterior10.xsd'
}
mx_grupocorasa_sat_common_ine10 {
bindingFile = 'src/main/resources/bindingFiles/ine10_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/common/ine/ine10.xsd'
}
mx_grupocorasa_sat_cfd_32 {
bindingFile = 'src/main/resources/bindingFiles/cfdv32_bind.xml'
schemaRootDir = 'src/main/resources'
schemaFile = 'xsd/cfd/3/cfdv32.xsd'
}
}
}
//END OF XJC-GEN
//***DO NOT EDIT*** TO HERE
sourceCompatibility = JavaVersion.VERSION_1_8
sourceSets {
main {
java {
srcDir "${buildDir.absolutePath}/generated-sources"
}
}
}
repositories {
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
implementation 'com.google.guava:guava:31.0.1-jre'
implementation 'ca.juliusdavies:not-yet-commons-ssl:0.3.11'
xjc "javax.xml.bind:jaxb-api:$jaxbVersion"
implementation "javax.xml.bind:jaxb-api:$jaxbVersion"
xjc "com.sun.xml.bind:jaxb-impl:$jaxbVersion"
implementation "com.sun.xml.bind:jaxb-impl:$jaxbVersion"
xjc "com.sun.xml.bind:jaxb-xjc:$jaxbVersion"
implementation "com.sun.xml.bind:jaxb-xjc:$jaxbVersion"
xjc "com.sun.xml.bind:jaxb-core:$jaxbVersion"
implementation "com.sun.xml.bind:jaxb-core:$jaxbVersion"
xjc 'javax.activation:activation:1.1.1'
implementation 'javax.activation:activation:1.1.1'
}