-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
Target update required Gradle updated required Kotlin plugin update required Kotlin update required Android Studio update required...
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,58 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-android-extensions' | ||
plugins { | ||
id 'com.android.application' | ||
id 'kotlin-android' | ||
id 'kotlin-parcelize' | ||
} | ||
|
||
android { | ||
compileSdkVersion 33 | ||
compileSdkVersion 35 | ||
|
||
namespace "tech.httptoolkit.android" | ||
|
||
defaultConfig { | ||
applicationId "tech.httptoolkit.android.v1" | ||
minSdkVersion 21 | ||
targetSdkVersion 33 | ||
targetSdkVersion 34 | ||
versionCode 33 | ||
versionName "1.4.0" | ||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
|
||
buildConfigField "String", "SENTRY_DSN", "null" | ||
manifestPlaceholders = [ | ||
sentryEnabled: "false", | ||
sentryDsn: "null" | ||
] | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
buildConfigField "String", "SENTRY_DSN", "\"https://[email protected]/1809979\"" | ||
|
||
manifestPlaceholders = [ | ||
sentryEnabled: "true", | ||
sentryDsn: "https://[email protected]/1809979" | ||
] | ||
} | ||
} | ||
|
||
lintOptions { | ||
lintConfig file("./lint.xml") | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = '11' | ||
} | ||
|
||
buildFeatures { | ||
viewBinding true | ||
buildConfig true | ||
} | ||
} | ||
|
||
repositories { | ||
|
@@ -38,22 +64,22 @@ dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" | ||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3" | ||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3" | ||
implementation 'androidx.appcompat:appcompat:1.3.0' | ||
implementation 'androidx.core:core-ktx:1.1.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | ||
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' | ||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" | ||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4" | ||
implementation 'androidx.appcompat:appcompat:1.7.0' | ||
implementation 'androidx.core:core-ktx:1.15.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.2.0' | ||
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0' | ||
implementation 'me.dm7.barcodescanner:zxing:1.9.8' | ||
implementation 'com.beust:klaxon:5.5' | ||
implementation 'com.squareup.okhttp3:okhttp:4.3.0' | ||
implementation 'com.google.android.material:material:1.4.0' | ||
implementation 'com.google.android.material:material:1.12.0' | ||
implementation 'net.swiftzer.semver:semver:1.1.1' | ||
implementation 'io.sentry:sentry-android:1.7.27' | ||
implementation 'io.sentry:sentry-android:7.18.0' | ||
implementation 'org.slf4j:slf4j-nop:1.7.25' | ||
implementation 'com.google.android.gms:play-services-base:10.2.4' | ||
implementation 'com.android.installreferrer:installreferrer:1.1' | ||
implementation 'com.google.android.gms:play-services-base:18.5.0' | ||
implementation 'com.android.installreferrer:installreferrer:2.2' | ||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'androidx.test:runner:1.2.0' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | ||
androidTestImplementation 'androidx.test:runner:1.6.2' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' | ||
} |