-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70afb6b
commit 5e8a09b
Showing
14 changed files
with
208 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,61 @@ | ||
# Built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# Files for the ART/Dalvik VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# Generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
|
||
# Gradle files | ||
.gradle/ | ||
build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
# Log Files | ||
# Log/OS Files | ||
*.log | ||
|
||
# Android Studio Navigation editor temp files | ||
.navigation/ | ||
|
||
# Android Studio captures folder | ||
# Android Studio generated files and folders | ||
captures/ | ||
.externalNativeBuild/ | ||
.cxx/ | ||
*.apk | ||
*.aab | ||
output.json | ||
|
||
# Intellij | ||
# IntelliJ | ||
*.iml | ||
.idea/ | ||
misc.xml | ||
deploymentTargetDropDown.xml | ||
render.experimental.xml | ||
render.experimental.xml/ | ||
|
||
# Keystore files | ||
*.jks | ||
|
||
# External native build folder generated in Android Studio 2.2 and later | ||
.externalNativeBuild | ||
*.keystore | ||
|
||
# Google Services (e.g. APIs or Firebase) | ||
google-services.json | ||
|
||
# Android Profiling | ||
*.hprof | ||
|
||
|
||
# Files for the ART/Dalvik VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# Generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
|
||
# Android Studio Navigation editor temp files | ||
.navigation/ | ||
|
||
# Intellij | ||
render.experimental.xml | ||
|
||
|
||
# Freeline | ||
freeline.py | ||
freeline/ | ||
freeline_project_description.json | ||
|
||
# Mac files | ||
.DS_Store | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
plugins { | ||
id("com.android.application") version "8.1.0" apply false | ||
id("com.android.library") version "8.1.0" apply false | ||
id("org.jetbrains.kotlin.android") version "1.9.0" apply false | ||
id("com.android.application") version "8.1.2" apply false | ||
id("com.android.library") version "8.1.2" apply false | ||
id("org.jetbrains.kotlin.android") version "1.9.10" apply false | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
plugins { | ||
id("com.android.library") | ||
id("org.jetbrains.kotlin.android") | ||
`maven-publish` | ||
} | ||
|
||
group = "com.github.fattmerchantorg" | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
create<MavenPublication>("release") { | ||
from(components["release"]) | ||
groupId = "com.github.fattmerchantorg" | ||
artifactId = "cardpresent" | ||
version = "2.6.1" | ||
} | ||
} | ||
} | ||
} | ||
|
||
android { | ||
namespace = "com.fattmerchant" | ||
compileSdk = 34 | ||
|
||
defaultConfig { | ||
minSdk = 23 | ||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
packaging { | ||
resources { | ||
excludes += "META-INF/*.kotlin_module" | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = JavaVersion.VERSION_11.toString() | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles( | ||
getDefaultProguardFile("proguard-android.txt"), | ||
"proguard-rules.pro" | ||
) | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar")))) | ||
|
||
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") | ||
androidTestImplementation("androidx.test:core:1.5.0") | ||
androidTestImplementation("androidx.test.ext:junit:1.1.5") | ||
androidTestImplementation("androidx.test:runner:1.5.2") | ||
androidTestImplementation("androidx.test:rules:1.5.0") | ||
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") | ||
androidTestImplementation("org.hamcrest:hamcrest-library:2.2") | ||
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.2.0") | ||
androidTestImplementation("net.zetetic:android-database-sqlcipher:4.0.1") | ||
|
||
testImplementation("junit:junit:4.13.2") | ||
testImplementation("androidx.test:runner:1.5.2") | ||
testImplementation("androidx.test:rules:1.5.0") | ||
testImplementation("androidx.test:core:1.5.0") | ||
testImplementation("org.robolectric:robolectric:4.9") | ||
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3") | ||
|
||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3") | ||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3") | ||
|
||
// ChipDNA (NMI) | ||
api(files("libs/CardEaseXMLClient.jar")) | ||
api(files("libs/ChipDnaMobile.jar")) | ||
|
||
implementation("com.squareup.retrofit2:retrofit:2.9.0") | ||
implementation("com.squareup.retrofit2:converter-moshi:2.9.0") | ||
implementation("com.squareup.moshi:moshi-kotlin:1.13.0") | ||
implementation("com.jakewharton.timber:timber:4.7.1") | ||
implementation("net.zetetic:android-database-sqlcipher:4.0.1@aar") | ||
|
||
implementation("com.google.code.gson:gson:2.9.1") | ||
implementation("com.squareup.okhttp3:logging-interceptor:4.10.0") | ||
implementation("com.github.smart-fun:XmlToJson:1.4.4") | ||
api("org.slf4j:slf4j-api:1.7.30") | ||
api("com.github.tony19:logback-android:2.0.0") | ||
api("com.googlecode.libphonenumber:libphonenumber:8.5.0") | ||
implementation("com.squareup.retrofit2:converter-scalars:2.3.0") | ||
implementation("org.simpleframework:simple-xml:2.7.1") { | ||
exclude(group = "stax", module = "stax-api") | ||
exclude(group = "xpp3", module = "xpp3") | ||
} | ||
|
||
// Ktor | ||
implementation("io.ktor:ktor-client-core:1.1.4") | ||
implementation("io.ktor:ktor-client-okhttp:1.1.4") | ||
implementation("io.ktor:ktor-client-ios:1.1.4") | ||
implementation("io.ktor:ktor-client-json:1.1.4") | ||
implementation("io.ktor:ktor-client-gson:1.1.4") | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Mon Aug 21 14:17:30 EDT 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.