Skip to content

Sdk other #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/build
/captures
.externalNativeBuild
*.log
64 changes: 38 additions & 26 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,47 +1,59 @@
apply plugin: 'com.android.application'
apply plugin: 'jacoco'
jacoco {
toolVersion='0.7.5.201505241946'
}
buildscript {
repositories {
mavenCentral()
}
plugins {
alias(libs.plugins.android.application)
id 'com.browserstack.gradle-tool'
}

android {
compileSdkVersion 30
dataBinding.enabled = true
namespace 'com.sample.browserstack.samplecalculator'
compileSdk 34

defaultConfig {
applicationId "com.sample.browserstack.samplecalculator"
minSdkVersion 15
targetSdkVersion 30
minSdk 26
targetSdk 34
versionCode 1
versionName "1.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

dataBinding {
enabled = true
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
testImplementation 'junit:junit:4.12'
}
implementation libs.appcompat
implementation libs.material
implementation libs.activity
implementation libs.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core

androidTestImplementation(group: 'com.browserstack', name: 'browserstack-java-sdk', version: '1.32.12') {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}

configurations.all {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
}

task printSdkVersion {
doLast {
println android.compileSdkVersion
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading