@@ -39,17 +39,6 @@ android {
39
39
buildConfigField " String" , " ACTION_INFO" , " \" ${ intentPrefix}${ actionInfoRequest} \" "
40
40
41
41
}
42
-
43
- crt {
44
- debuggable false
45
- def env = " .crt"
46
- def intentPrefix = " com.payplaza"
47
- buildConfigField " String" , " ACTION_TRANSACTION" , " \" ${ intentPrefix}${ env}${ actionTrans} \" "
48
- buildConfigField " String" , " ACTION_STATUSES" , " \" ${ intentPrefix}${ env}${ actionStatusesRequest} \" "
49
- buildConfigField " String" , " ACTION_INFO" , " \" ${ intentPrefix}${ env}${ actionInfoRequest} \" "
50
-
51
- }
52
-
53
42
debug {
54
43
debuggable true
55
44
def env = " .dev"
@@ -58,15 +47,6 @@ android {
58
47
buildConfigField " String" , " ACTION_STATUSES" , " \" ${ intentPrefix}${ env}${ actionStatusesRequest} \" "
59
48
buildConfigField " String" , " ACTION_INFO" , " \" ${ intentPrefix}${ env}${ actionInfoRequest} \" "
60
49
}
61
-
62
- local {
63
- debuggable true
64
- def env = " .local"
65
- def intentPrefix = " com.payplaza"
66
- buildConfigField " String" , " ACTION_TRANSACTION" , " \" ${ intentPrefix}${ env}${ actionTrans} \" "
67
- buildConfigField " String" , " ACTION_STATUSES" , " \" ${ intentPrefix}${ env}${ actionStatusesRequest} \" "
68
- buildConfigField " String" , " ACTION_INFO" , " \" ${ intentPrefix}${ env}${ actionInfoRequest} \" "
69
- }
70
50
}
71
51
compileOptions {
72
52
sourceCompatibility JavaVersion . VERSION_1_8
@@ -75,12 +55,6 @@ android {
75
55
kotlinOptions {
76
56
jvmTarget = ' 1.8'
77
57
}
78
-
79
- testOptions. unitTests. all {
80
- testLogging {
81
- events ' passed' , ' skipped' , ' failed' , ' standardOut' , ' standardError'
82
- }
83
- }
84
58
}
85
59
86
60
apply plugin : ' com.android.library'
@@ -112,43 +86,19 @@ dependencies {
112
86
afterEvaluate {
113
87
publishing {
114
88
publications {
115
- // Creates a Maven publication called "release".
116
89
mavenAar(MavenPublication ) {
117
- groupId = " com.payplaza .payments"
90
+ groupId = " com.cm .payments"
118
91
artifactId = rootProject. name
119
92
version = project. android. defaultConfig. versionName
120
93
artifact bundleReleaseAar
121
94
}
122
95
123
96
mavenAarDebug(MavenPublication ) {
124
- groupId = " com.payplaza .payments"
97
+ groupId = " com.cm .payments"
125
98
artifactId = " ${ rootProject.name} -debug"
126
99
version = project. android. defaultConfig. versionName
127
100
artifact bundleDebugAar
128
101
}
129
-
130
- mavenAarCrt(MavenPublication ) {
131
- groupId = " com.payplaza.payments"
132
- artifactId = " ${ rootProject.name} -crt"
133
- version = project. android. defaultConfig. versionName
134
- artifact bundleCrtAar
135
- }
136
- }
137
- repositories {
138
- maven {
139
- name = " gitlab"
140
- url = uri(" https://gitlab.com/api/v4/projects/${ System.getenv("CI_PROJECT_ID")} /packages/maven" )
141
- credentials(HttpHeaderCredentials ) {
142
- name = " Job-Token"
143
- value = System . getenv(" CI_JOB_TOKEN" )
144
- }
145
- authentication {
146
- header(HttpHeaderAuthentication )
147
- }
148
- }
149
102
}
150
103
}
151
- }
152
- repositories {
153
- mavenCentral()
154
104
}
0 commit comments