Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed May 12, 2022
1 parent 49119dc commit 7ed83c7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
classpath("com.android.tools.build:gradle:7.2.0")
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.19.0")
classpath(kotlin("gradle-plugin", version = "1.6.20"))
classpath(kotlin("gradle-plugin", version = "1.6.21"))
}
}

Expand Down
5 changes: 5 additions & 0 deletions publish.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apply plugin: "com.vanniktech.maven.publish"

mavenPublish {
androidVariantToPublish = "release"
}
3 changes: 2 additions & 1 deletion transformations-face-detection/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ plugins {
id("com.android.library")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
id("com.vanniktech.maven.publish")
}

apply(from = "../publish.gradle")

android {
compileSdk = project.targetSdk
defaultConfig {
Expand Down
3 changes: 2 additions & 1 deletion transformations-gpu/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ plugins {
id("com.android.library")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
id("com.vanniktech.maven.publish")
}

apply(from = "../publish.gradle")

android {
compileSdk = project.targetSdk
defaultConfig {
Expand Down
3 changes: 2 additions & 1 deletion transformations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ plugins {
id("com.android.library")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
id("com.vanniktech.maven.publish")
}

apply(from = "../publish.gradle")

android {
compileSdk = project.targetSdk
defaultConfig {
Expand Down

0 comments on commit 7ed83c7

Please sign in to comment.