summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-10 13:27:39 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-20 22:58:08 +0200
commit101fb3fb603485f57f880bd4634443b34d82758a (patch)
tree42e473be32ce74d0a5823e1efab6f44ca4f7b297 /app/build.gradle
downloadmerchant-terminal-android-101fb3fb603485f57f880bd4634443b34d82758a.tar.gz
merchant-terminal-android-101fb3fb603485f57f880bd4634443b34d82758a.tar.bz2
merchant-terminal-android-101fb3fb603485f57f880bd4634443b34d82758a.zip
re-initialize Android Studio project
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle45
1 files changed, 45 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
new file mode 100644
index 0000000..e722208
--- /dev/null
+++ b/app/build.gradle
@@ -0,0 +1,45 @@
+apply plugin: 'com.android.application'
+
+apply plugin: 'kotlin-android'
+
+apply plugin: 'kotlin-android-extensions'
+
+android {
+ compileSdkVersion 29
+ buildToolsVersion "29.0.1"
+ defaultConfig {
+ applicationId "net.taler.merchantpos"
+ minSdkVersion 28
+ targetSdkVersion 29
+ versionCode 1
+ versionName "1.0"
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ def nav_version = "2.1.0-rc01"
+
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ implementation 'androidx.appcompat:appcompat:1.0.2'
+ implementation 'androidx.core:core-ktx:1.0.2'
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+ implementation 'com.google.android.material:material:1.0.0'
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test:runner:1.2.0'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+
+ implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
+ implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
+
+ // HTTP Requests
+ implementation 'com.android.volley:volley:1.1.1'
+}