Merge pull request #501 from Inhishonor/gradle

Clean up gradle files
This commit is contained in:
octoshrimpy
2025-07-22 08:46:38 -06:00
committed by GitHub
7 changed files with 4 additions and 21 deletions
-2
View File
@@ -41,7 +41,6 @@ dependencies {
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.5.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// implementation 'javax.annotation:javax.annotation-api:1.3.2'
}
repositories {
@@ -53,5 +52,4 @@ repositories {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
mavenCentral()
jcenter()
}
+1 -2
View File
@@ -46,7 +46,6 @@ buildscript {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
mavenCentral()
jcenter()
}
dependencies {
@@ -72,7 +71,7 @@ allprojects {
}
}
task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
-1
View File
@@ -48,5 +48,4 @@ repositories {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
mavenCentral()
jcenter()
}
-6
View File
@@ -22,7 +22,6 @@ apply plugin: 'kotlin-kapt'
android {
compileSdk 34
publishNonDefault true
compileOptions {
sourceCompatibility 1.8
@@ -33,8 +32,6 @@ android {
minSdk 23
targetSdkVersion 33
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "AMPLITUDE_API_KEY", "\"${System.getenv("AMPLITUDE_API_KEY")}\""
}
namespace 'dev.octoshrimpy.quik.data'
@@ -59,8 +56,6 @@ dependencies {
kapt "com.google.dagger:dagger-compiler:$dagger_version"
//Resolve jdk8+ Generation Annotations - javax annotation does not exist
implementation 'com.github.pengrad:jdk9-deps:1ffe84c468'
// look into jakarta.annotation-api when switching to java 9
implementation 'javax.annotation:javax.annotation-api:1.3.2'
// rxjava
@@ -109,5 +104,4 @@ repositories {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
mavenCentral()
jcenter()
}
-5
View File
@@ -46,8 +46,6 @@ dependencies {
kapt "com.google.dagger:dagger-compiler:$dagger_version"
//Resolve jdk8+ Generation Annotations - javax annotation does not exist
implementation 'com.github.pengrad:jdk9-deps:1ffe84c468'
// look into jakarta.annotation-api when switching to java 9
implementation 'javax.annotation:javax.annotation-api:1.3.2'
// realm
@@ -70,8 +68,6 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation project(":common")
// implementation 'com.github.pengrad:jdk9-deps:1ffe84c'
}
repositories {
@@ -83,5 +79,4 @@ repositories {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
mavenCentral()
jcenter()
}
-1
View File
@@ -15,7 +15,6 @@ org.gradle.jvmargs=-Xmx1536m
org.gradle.caching=true
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
+3 -4
View File
@@ -87,6 +87,9 @@ android {
abortOnError false
}
namespace 'dev.octoshrimpy.quik'
buildFeatures {
buildConfig true
}
if (System.getenv("CI") == "true") {
signingConfigs.release.storePassword = System.getenv("keystore_password")
signingConfigs.release.keyAlias = System.getenv("key_alias")
@@ -147,11 +150,8 @@ dependencies {
implementation "com.google.dagger:dagger-android-support:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
// compileOnly "javax.annotation:jsr250-api:1.0"
//Resolve jdk8+ Generation Annotations - javax annotation does not exist
implementation 'com.github.pengrad:jdk9-deps:1ffe84c468'
// look into jakarta.annotation-api when switching to java 9
implementation 'javax.annotation:javax.annotation-api:1.3.2'
// ezvcard
@@ -163,7 +163,6 @@ dependencies {
// realm
implementation "com.github.realm:realm-android-adapters:$realm_adapters_version"
// implementation("io.realm:android-adapters:$realm_adapters_version") { transitive = false }
kapt "io.realm:realm-annotations:$realm_version"
kapt "io.realm:realm-annotations-processor:$realm_version"