Skip to content

Commit

Permalink
Get it building
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Nov 5, 2024
1 parent a2e8d5c commit a6763c2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 21 deletions.
10 changes: 2 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@ buildscript {
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.0")
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
classpath(kotlin("gradle-plugin", version = "1.9.20"))
classpath("com.android.tools.build:gradle:8.7.2")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.19.0")
classpath(kotlin("gradle-plugin", version = "1.6.21"))
}
}

plugins {
id("com.github.ben-manes.versions") version "0.42.0"
}

allprojects {
repositories {
google()
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import coiltransformations.targetSdk
plugins {
id("com.android.application")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
}

android {
namespace = "com.commit451.coiltransformations.sample"
compileSdk = project.targetSdk
defaultConfig {
applicationId = "com.commit451.coiltransformations.sample"
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rootProject.buildFileName = "build.gradle.kts"
include(
":transformations",
":transformations-face-detection",
":transformations-gpu",
":sample"
":transformations",
":transformations-face-detection",
":transformations-gpu",
":sample"
)
2 changes: 1 addition & 1 deletion transformations-face-detection/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import coiltransformations.targetSdk
plugins {
id("com.android.library")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
}

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

android {
namespace = "com.commit451.coiltransformations.facedetection"
compileSdk = project.targetSdk
defaultConfig {
minSdk = project.minSdk
Expand Down
5 changes: 1 addition & 4 deletions transformations-face-detection/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.commit451.coiltransformations.facedetection">

</manifest>
<manifest package="com.commit451.coiltransformations.facedetection"/>
2 changes: 1 addition & 1 deletion transformations-gpu/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import coiltransformations.targetSdk
plugins {
id("com.android.library")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
}

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

android {
namespace = "com.commit451.coiltransformations.gpu"
compileSdk = project.targetSdk
defaultConfig {
minSdk = project.minSdk
Expand Down
2 changes: 1 addition & 1 deletion transformations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import coiltransformations.targetSdk
plugins {
id("com.android.library")
id("kotlin-android")
id("org.jlleitschuh.gradle.ktlint")
}

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

android {
namespace = "com.commit451.coiltransformations"
compileSdk = project.targetSdk
defaultConfig {
minSdk = project.minSdk
Expand Down

0 comments on commit a6763c2

Please sign in to comment.