Skip to content

Commit

Permalink
update gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
aslm-android committed Oct 30, 2023
1 parent abec2d5 commit 8fb37c2
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 10 deletions.
Binary file modified .gradle/8.0/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/8.0/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.0/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.0/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.0/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
1 change: 1 addition & 0 deletions app/src/main/java/company/tap/paybutton/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import company.tap.tappaybuttons.PayButton
import company.tap.tappaybuttons.PayButtonStatusDelegate

class MainActivity : AppCompatActivity() {
lateinit var payButton: PayButton
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.library") version "7.4.1" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.0" apply false
}
13 changes: 6 additions & 7 deletions tappaybutton/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ plugins {

android {
namespace = "com.example.tappaybutton"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 33
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand All @@ -33,11 +33,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}
}

Expand All @@ -46,9 +46,8 @@ dependencies {
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.10.0")
implementation ("com.github.Tap-Payments:Knet-Android:0.0.0.4")
implementation ("com.github.Tap-Payments:Knet-Android:0.0.0.5")
implementation ("com.github.Tap-Payments:BenefitPay-Android:0.0.4")

testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.example.tappaybutton.R
import company.tap.tapWebForm.open.KnetPayStatusDelegate
import company.tap.tapWebForm.open.web_wrapper.TapKnetConfiguration
import company.tap.tapWebForm.open.web_wrapper.TapKnetPay
import company.tap.tapWebForm.open.web_wrapper.enums.PayButtonTypes
import company.tap.tapWebForm.open.web_wrapper.enums.ThreeDsPayButtonType
import company.tap.tapcardformkit.open.TapBenefitPayStatusDelegate
import company.tap.tapcardformkit.open.web_wrapper.BeneiftPayConfiguration
import company.tap.tapcardformkit.open.web_wrapper.TapBenefitPay
Expand Down Expand Up @@ -99,7 +99,7 @@ class PayButton :LinearLayout {

override fun cancel() = payButtonStatusDelegate.onCancel()
},
PayButtonTypes.valueOf(payButton.name.toUpperCase())
ThreeDsPayButtonType.valueOf(payButton.name.toUpperCase())
)
}
else ->{
Expand Down

0 comments on commit 8fb37c2

Please sign in to comment.