Skip to content

Commit ced2b1f

Browse files
committed
Removed JCenter
Updated SDK target version Update Authentication SDK and Tickets SDK version
1 parent 403234b commit ced2b1f

File tree

4 files changed

+297
-31
lines changed

4 files changed

+297
-31
lines changed

.gitignore

Lines changed: 276 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,280 @@
1-
*.iml
1+
2+
# Created by https://www.gitignore.io/api/linux,macos,windows,intellij,androidstudio
3+
# Edit at https://www.gitignore.io/?templates=linux,macos,windows,intellij,androidstudio
4+
5+
### AndroidStudio ###
6+
# Covers files to be ignored for android development using Android Studio.
7+
8+
# Built application files
9+
*.apk
10+
*.ap_
11+
12+
# Files for the ART/Dalvik VM
13+
*.dex
14+
15+
# Java class files
16+
*.class
17+
18+
# Generated files
19+
bin/
20+
gen/
21+
out/
22+
23+
# Gradle files
224
.gradle
3-
/local.properties
4-
/.idea/caches
5-
/.idea/libraries
6-
/.idea/modules.xml
7-
/.idea/workspace.xml
8-
/.idea/navEditor.xml
9-
/.idea/assetWizardSettings.xml
25+
.gradle/
26+
build/
27+
28+
# Signing files
29+
.signing/
30+
31+
# Local configuration file (sdk path, etc)
32+
local.properties
33+
34+
# Proguard folder generated by Eclipse
35+
proguard/
36+
37+
# Log Files
38+
*.log
39+
40+
# Android Studio
41+
/*/build/
42+
/*/local.properties
43+
/*/out
44+
/*/*/build
45+
/*/*/production
46+
captures/
47+
.navigation/
48+
*.ipr
49+
*~
50+
*.swp
51+
52+
# Android Patch
53+
gen-external-apklibs
54+
55+
# External native build folder generated in Android Studio 2.2 and later
56+
.externalNativeBuild
57+
-.cxx
58+
-local.properties
59+
\ No newline at end of file
60+
61+
# NDK
62+
obj/
63+
64+
# IntelliJ IDEA
65+
*.iml
66+
*.iws
67+
/out/
68+
69+
# User-specific configurations
70+
.idea
71+
.idea/caches/
72+
.idea/libraries/
73+
.idea/shelf/
74+
.idea/workspace.xml
75+
.idea/tasks.xml
76+
.idea/.name
77+
.idea/compiler.xml
78+
.idea/copyright/profiles_settings.xml
79+
.idea/encodings.xml
80+
.idea/misc.xml
81+
.idea/modules.xml
82+
.idea/scopes/scope_settings.xml
83+
.idea/dictionaries
84+
.idea/vcs.xml
85+
.idea/jsLibraryMappings.xml
86+
.idea/datasources.xml
87+
.idea/dataSources.ids
88+
.idea/sqlDataSources.xml
89+
.idea/dynamic.xml
90+
.idea/uiDesigner.xml
91+
.idea/assetWizardSettings.xml
92+
.idea/runConfigurations.xml
93+
.idea/jarRepositories.xml
94+
95+
# OS-specific files
1096
.DS_Store
11-
/build
12-
/captures
97+
.DS_Store?
98+
._*
99+
.Spotlight-V100
100+
.Trashes
101+
ehthumbs.db
102+
Thumbs.db
103+
104+
# Legacy Eclipse project files
105+
.classpath
106+
.project
107+
.cproject
108+
.settings/
109+
110+
# Mobile Tools for Java (J2ME)
111+
.mtj.tmp/
112+
113+
# Package Files #
114+
*.war
115+
*.ear
116+
117+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
118+
hs_err_pid*
119+
120+
## Plugin-specific files:
121+
122+
# mpeltonen/sbt-idea plugin
123+
.idea_modules/
124+
125+
# JIRA plugin
126+
atlassian-ide-plugin.xml
127+
128+
# Mongo Explorer plugin
129+
.idea/mongoSettings.xml
130+
131+
# Crashlytics plugin (for Android Studio and IntelliJ)
132+
com_crashlytics_export_strings.xml
133+
crashlytics.properties
134+
crashlytics-build.properties
135+
fabric.properties
136+
137+
### AndroidStudio Patch ###
138+
139+
!/gradle/wrapper/gradle-wrapper.jar
140+
141+
### Intellij ###
142+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
143+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
144+
145+
# User-specific stuff
146+
.idea/**/workspace.xml
147+
.idea/**/tasks.xml
148+
.idea/**/usage.statistics.xml
149+
.idea/**/dictionaries
150+
.idea/**/shelf
151+
152+
# Generated files
153+
.idea/**/contentModel.xml
154+
155+
# Sensitive or high-churn files
156+
.idea/**/dataSources/
157+
.idea/**/dataSources.ids
158+
.idea/**/dataSources.local.xml
159+
.idea/**/sqlDataSources.xml
160+
.idea/**/dynamic.xml
161+
.idea/**/uiDesigner.xml
162+
.idea/**/dbnavigator.xml
163+
.idea/codeStyles/codeStyleConfig.xml
164+
165+
166+
# Gradle
167+
.idea/**/gradle.xml
168+
.idea/**/libraries
169+
170+
# Gradle and Maven with auto-import
171+
# When using Gradle or Maven with auto-import, you should exclude module files,
172+
# since they will be recreated, and may cause churn. Uncomment if using
173+
# auto-import.
174+
# .idea/modules.xml
175+
# .idea/*.iml
176+
# .idea/modules
177+
178+
# CMake
179+
cmake-build-*/
180+
181+
# Mongo Explorer plugin
182+
.idea/**/mongoSettings.xml
183+
184+
# File-based project format
185+
186+
# IntelliJ
187+
188+
# mpeltonen/sbt-idea plugin
189+
190+
# JIRA plugin
191+
192+
# Cursive Clojure plugin
193+
.idea/replstate.xml
194+
195+
# Crashlytics plugin (for Android Studio and IntelliJ)
196+
197+
# Editor-based Rest Client
198+
.idea/httpRequests
199+
200+
# Android studio 3.1 serialized cache file
201+
.idea/caches/build_file_checksums.ser
202+
203+
# JetBrains templates
204+
**___jb_tmp___
205+
206+
### Intellij Patch ###
207+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
208+
209+
# *.iml
210+
# modules.xml
211+
# .idea/misc.xml
212+
# *.ipr
213+
214+
# Sonarlint plugin
215+
.idea/sonarlint
216+
217+
### Linux ###
218+
219+
# temporary files which can be created if a process still has a handle open of a deleted file
220+
.fuse_hidden*
221+
222+
# KDE directory preferences
223+
.directory
224+
225+
# Linux trash folder which might appear on any partition or disk
226+
.Trash-*
227+
228+
# .nfs files are created when an open file is removed but is still being accessed
229+
.nfs*
230+
231+
### macOS ###
232+
# General
233+
.AppleDouble
234+
.LSOverride
235+
236+
# Icon must end with two \r
237+
Icon
238+
239+
# Thumbnails
240+
241+
# Files that might appear in the root of a volume
242+
.DocumentRevisions-V100
243+
.fseventsd
244+
.TemporaryItems
245+
.VolumeIcon.icns
246+
.com.apple.timemachine.donotpresent
247+
248+
# Directories potentially created on remote AFP share
249+
.AppleDB
250+
.AppleDesktop
251+
Network Trash Folder
252+
Temporary Items
253+
.apdisk
254+
255+
### Windows ###
256+
# Windows thumbnail cache files
257+
ehthumbs_vista.db
258+
259+
# Dump file
260+
*.stackdump
261+
262+
# Folder config file
263+
[Dd]esktop.ini
264+
265+
# Recycle Bin used on file shares
266+
$RECYCLE.BIN/
267+
268+
# Windows Installer files
269+
*.cab
270+
*.msi
271+
*.msix
272+
*.msm
273+
*.msp
274+
275+
# Windows shortcuts
276+
*.lnk
277+
13278
.externalNativeBuild
14279
.cxx
15-
local.properties
280+
local.properties

app/build.gradle

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ apply plugin: 'kotlin-kapt'
44
apply plugin: 'kotlin-parcelize'
55

66
android {
7-
compileSdkVersion 33
7+
compileSdk 34
88
defaultConfig {
99
applicationId "com.ticketmaster.sampleintegration.demo"
10+
namespace "com.ticketmaster.sampleintegration.demo"
1011
minSdk 26
11-
targetSdk 33
12+
targetSdk 34
1213
versionCode 1
1314
versionName "1.0"
1415

@@ -40,6 +41,9 @@ android {
4041
dataBinding {
4142
enabled = true
4243
}
44+
buildFeatures {
45+
buildConfig = true
46+
}
4347
}
4448

4549
//Resolution strategy that force the use of the corresponding libraries that causes duplicity
@@ -49,23 +53,23 @@ configurations.all {
4953
}
5054

5155
dependencies {
52-
implementation 'androidx.core:core-ktx:1.10.1'
53-
implementation 'androidx.appcompat:appcompat:1.6.1'
54-
implementation 'com.google.android.material:material:1.9.0'
56+
implementation 'androidx.core:core-ktx:1.13.1'
57+
implementation 'androidx.appcompat:appcompat:1.7.0'
58+
implementation 'com.google.android.material:material:1.12.0'
5559
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
5660
//Dependencies libraries needed for tickets and authentication sdks.
5761
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
58-
implementation 'androidx.compose.material:material:1.4.3'
59-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
62+
implementation 'androidx.compose.material:material:1.6.8'
63+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1'
6064
//Tickets SDK
6165
implementation 'com.ticketmaster.tickets:secure-entry:1.2.10'
62-
implementation 'com.ticketmaster.tickets:tickets:3.5.2'
66+
implementation 'com.ticketmaster.tickets:tickets:3.7.5'
6367
//Accounts SDK
64-
implementation 'com.ticketmaster.accounts:authentication:3.5.2'
68+
implementation 'com.ticketmaster.accounts:authentication:3.7.0'
6569
// Retail SDK
6670
implementation "com.ticketmaster.retail:purchase:1.1.3"
6771
implementation "com.ticketmaster.retail:prepurchase:1.0.8"
6872
implementation "com.ticketmaster.retail:discoveryapi:1.0.4"
6973
implementation "com.ticketmaster.retail:foundation:1.0.1"
7074
implementation "com.ticketmaster.purchase:ticketmaster-purchase:0.0.7"
71-
}
75+
}

build.gradle

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@ buildscript {
55
repositories {
66
mavenCentral()
77
google()
8-
jcenter()
8+
maven { url 'https://jitpack.io' }
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.3.1'
13-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
14-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
15-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0"
12+
classpath 'com.android.tools.build:gradle:8.4.2'
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
1614
classpath "com.facebook.testing.screenshot:plugin:0.13.0"
17-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20-RC"
1815
// NOTE: Do not place your application dependencies here; they belong
1916
// in the individual module build.gradle files
2017
}
@@ -24,10 +21,10 @@ allprojects {
2421
repositories {
2522
mavenCentral()
2623
google()
27-
jcenter()
24+
maven { url 'https://jitpack.io' }
2825
}
2926
}
3027

3128
task clean(type: Delete) {
3229
delete rootProject.buildDir
33-
}
30+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Jun 28 19:10:16 PET 2023
1+
#Wed Aug 28 11:19:06 PET 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)