Skip to content

Commit

Permalink
Remove buildSrc
Browse files Browse the repository at this point in the history
Signed-off-by: TheRealJan <[email protected]>
  • Loading branch information
jan-tennert committed Jun 24, 2023
1 parent bdd0dbd commit c4ed2ba
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 46 deletions.
2 changes: 0 additions & 2 deletions Functions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id("com.android.library")
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "Extends supabase-kt with a Edge Functions Client"

repositories {
Expand Down
2 changes: 0 additions & 2 deletions GoTrue/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ plugins {
alias(libs.plugins.complete.kotlin)
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "Extends supabase-kt with a Auth Client"

repositories {
Expand Down
2 changes: 0 additions & 2 deletions Postgrest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id("com.android.library")
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "Extends supabase-kt with a Postgrest Client"

repositories {
Expand Down
2 changes: 0 additions & 2 deletions Realtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id("com.android.library")
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "Extends supabase-kt with a Realtime Client"

repositories {
Expand Down
2 changes: 0 additions & 2 deletions Storage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id("com.android.library")
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "Extends supabase-kt with a Storage Client"

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MemoryResumableCache(
}

override suspend fun entries(): List<CachePair> {
return map.mapNotNull { (key, value) ->
return map.mapNotNull { (key, _) ->
Fingerprint(key)
}.map {
it to Json.decodeFromString(it.value)
Expand Down
2 changes: 0 additions & 2 deletions bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ plugins {
`java-platform`
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "A Kotlin Multiplatform Supabase Framework"

val bomProject = project
Expand Down
9 changes: 4 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ configure(allprojects.filter { it.name in modules || it.name == "bom" }) {
apply(plugin = "kotlinx-atomicfu")
apply(plugin = "com.vanniktech.maven.publish")

group = "io.github.jan-tennert.supabase"
version = extra["supabase-version"].toString()

mavenPublishing {
publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.S01)

signAllPublications()

coordinates("io.github.jan-tennert.supabase", this@configure.name, Versions.PROJECT)
coordinates("io.github.jan-tennert.supabase", this@configure.name, extra["supabase-version"].toString())

pom {
name.set(this@configure.name)
Expand Down Expand Up @@ -147,9 +149,6 @@ configure(allprojects.filter { it.name in modules }) {
}
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT

@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
kotlin {
targetHierarchy.default()
Expand Down
9 changes: 0 additions & 9 deletions buildSrc/build.gradle.kts

This file was deleted.

8 changes: 0 additions & 8 deletions buildSrc/src/main/kotlin/Publishing.kt

This file was deleted.

5 changes: 0 additions & 5 deletions buildSrc/src/main/kotlin/Versions.kt

This file was deleted.

7 changes: 3 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
kotlin.code.style=official
#kotlin.native.enableDependencyPropagation=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4096m
#kotlin.mpp.hierarchicalStructureSupport=false
kotlin.mpp.androidSourceSetLayoutVersion=2
# Hide Kotlin/Native warnings
kotlin.native.ignoreDisabledTargets=true
kotlin.native.ignoreIncorrectDependencies=true
kotlin.native.ignoreIncorrectDependencies=true

supabase-version = 1.1.0-rc-1-dev
2 changes: 0 additions & 2 deletions plugins/ApolloGraphQL/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id("com.android.library")
}

group = "io.github.jan-tennert.supabase"
version = Versions.PROJECT
description = "Extends supabase-kt with a Apollo GraphQL Client"

repositories {
Expand Down

0 comments on commit c4ed2ba

Please sign in to comment.