fix(build): properly resolve JavaPoet version resolution issue

This commit is contained in:
Harsh Shandilya 2023-07-12 16:00:46 +05:30
parent 57eea035ca
commit 8855190d7c
No known key found for this signature in database
4 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ plugins {
id("com.github.android-password-store.versioning-plugin") id("com.github.android-password-store.versioning-plugin")
id("com.github.android-password-store.sentry") id("com.github.android-password-store.sentry")
id("com.github.android-password-store.rename-artifacts") id("com.github.android-password-store.rename-artifacts")
id("dagger.hilt.android.plugin") alias(libs.plugins.hilt)
} }
crowdin { crowdin {

View file

@ -80,6 +80,7 @@ dependencies {
implementation(libs.build.agp) implementation(libs.build.agp)
implementation(libs.build.diffutils) implementation(libs.build.diffutils)
implementation(libs.build.download) implementation(libs.build.download)
implementation(libs.build.javapoet)
implementation(libs.build.kotlin) implementation(libs.build.kotlin)
implementation(libs.build.ktfmt) implementation(libs.build.ktfmt)
implementation(libs.build.mavenpublish) implementation(libs.build.mavenpublish)

View file

@ -6,5 +6,4 @@ plugins {
id("com.github.android-password-store.git-hooks") id("com.github.android-password-store.git-hooks")
id("com.github.android-password-store.kotlin-common") id("com.github.android-password-store.kotlin-common")
id("com.github.android-password-store.ktfmt") id("com.github.android-password-store.ktfmt")
alias(libs.plugins.hilt) apply false
} }

View file

@ -40,6 +40,7 @@ aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embe
build-agp = { module = "com.android.tools.build:gradle", version.ref = "agp" } build-agp = { module = "com.android.tools.build:gradle", version.ref = "agp" }
build-diffutils = "io.github.java-diff-utils:java-diff-utils:4.12" build-diffutils = "io.github.java-diff-utils:java-diff-utils:4.12"
build-download = "de.undercouch:gradle-download-task:5.4.0" build-download = "de.undercouch:gradle-download-task:5.4.0"
build-javapoet = "com.squareup:javapoet:1.13.0"
build-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } build-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
build-ktfmt = "com.facebook:ktfmt:0.44" build-ktfmt = "com.facebook:ktfmt:0.44"
build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.25.3" build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.25.3"