Skip to content

Commit

Permalink
feat: setup new packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet committed Dec 3, 2024
1 parent 86301c2 commit a70aa94
Show file tree
Hide file tree
Showing 23 changed files with 278 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: [ guimauvesoftware, nathanfallet ]
github: [ guimauvedigital, nathanfallet ]
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# kaccelero

[![License](https://img.shields.io/github/license/guimauvesoftware/kaccelero)](LICENSE)
[![Issues](https://img.shields.io/github/issues/guimauvesoftware/kaccelero)]()
[![Pull Requests](https://img.shields.io/github/issues-pr/guimauvesoftware/kaccelero)]()
[![Code Size](https://img.shields.io/github/languages/code-size/guimauvesoftware/kaccelero)]()
[![codecov](https://codecov.io/gh/guimauvesoftware/kaccelero/graph/badge.svg?token=XZ7HrShgH3)](https://codecov.io/gh/guimauvesoftware/kaccelero)
[![License](https://img.shields.io/github/license/guimauvedigital/kaccelero)](LICENSE)
[![Issues](https://img.shields.io/github/issues/guimauvedigital/kaccelero)]()
[![Pull Requests](https://img.shields.io/github/issues-pr/guimauvedigital/kaccelero)]()
[![Code Size](https://img.shields.io/github/languages/code-size/guimauvedigital/kaccelero)]()
[![codecov](https://codecov.io/gh/guimauvedigital/kaccelero/graph/badge.svg?token=XZ7HrShgH3)](https://codecov.io/gh/guimauvedigital/kaccelero)

The all-in-one toolkit for mobile & web development in Kotlin/Swift.
20 changes: 20 additions & 0 deletions analytics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# analytics

Multiplatform analytics interfaces.

## Installation

Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:analytics:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>analytics-jvm</artifactId>
<version>0.4.0</version>
</dependency>
```
93 changes: 93 additions & 0 deletions analytics/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
plugins {
alias(libs.plugins.multiplatform)
alias(libs.plugins.serialization)
alias(libs.plugins.android.library)
alias(libs.plugins.kover)
alias(libs.plugins.ksp)
alias(libs.plugins.maven)
}

mavenPublishing {
publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
pom {
name.set("analytics")
description.set("Multiplatform analytics interfaces.")
url.set(project.ext.get("url")?.toString())
licenses {
license {
name.set(project.ext.get("license.name")?.toString())
url.set(project.ext.get("license.url")?.toString())
}
}
developers {
developer {
id.set(project.ext.get("developer.id")?.toString())
name.set(project.ext.get("developer.name")?.toString())
email.set(project.ext.get("developer.email")?.toString())
url.set(project.ext.get("developer.url")?.toString())
}
}
scm {
url.set(project.ext.get("scm.url")?.toString())
}
}
}

kotlin {
listOf(
macosX64(),
macosArm64(),
iosSimulatorArm64(),
iosX64(),
iosArm64()
)

// jvm
jvmToolchain(21)
androidTarget()
jvm {
testRuns.named("test") {
executionTask.configure {
useJUnitPlatform()
}
}
}

applyDefaultHierarchyTemplate()
sourceSets {
val commonMain by getting {
dependencies {
api(project(":core"))
}
}
val jvmTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val androidMain by getting {
dependencies {

}
}
}
}

android {
namespace = "dev.kaccelero.analytics"
compileSdk = 34
defaultConfig {
minSdk = 21
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
publishing {
multipleVariants {
allVariants()
withJavadocJar()
}
}
}
4 changes: 2 additions & 2 deletions auth-apple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Key provider to verify tokens from Sign In With Apple.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:auth-apple:0.3.0")
api("dev.kaccelero:auth-apple:0.4.0")
```

```xml
Expand All @@ -16,7 +16,7 @@ api("dev.kaccelero:auth-apple:0.3.0")
<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>auth-apple-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>
```
4 changes: 2 additions & 2 deletions auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Reusable auth basics.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:auth:0.3.0")
api("dev.kaccelero:auth:0.4.0")
```

```xml
Expand All @@ -16,7 +16,7 @@ api("dev.kaccelero:auth:0.3.0")
<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>auth-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>
```
15 changes: 12 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
plugins {
alias(libs.plugins.multiplatform) apply false
alias(libs.plugins.android.library) apply false
}

allprojects {
group = "dev.kaccelero"
version = "0.3.0"
project.ext.set("url", "https://github.com/guimauvesoftware/kaccelero")
version = "0.4.0"
project.ext.set("url", "https://github.com/guimauvedigital/kaccelero")
project.ext.set("license.name", "GPL-3.0")
project.ext.set("license.url", "https://opensource.org/licenses/GPL-3.0")
project.ext.set("developer.id", "nathanfallet")
project.ext.set("developer.name", "Nathan Fallet")
project.ext.set("developer.email", "[email protected]")
project.ext.set("developer.url", "https://www.nathanfallet.me")
project.ext.set("scm.url", "https://github.com/guimauvesoftware/kaccelero.git")
project.ext.set("scm.url", "https://github.com/guimauvedigital/kaccelero.git")

repositories {
google()
mavenCentral()
}
}

buildscript {
repositories {
google()
mavenCentral()
}
}
4 changes: 2 additions & 2 deletions controllers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Controllers of kaccelero.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:controllers:0.3.0")
api("dev.kaccelero:controllers:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>controllers-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```
4 changes: 2 additions & 2 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Core of kaccelero.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:core:0.3.0")
api("dev.kaccelero:core:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>core-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions database-exposed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Definitions and extensions for Exposed databases.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:database-exposed:0.3.0")
api("dev.kaccelero:database-exposed:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>database-exposed-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions database-ktor-sessions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Sessions database extensions for Ktor.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:database-ktor-sessions:0.3.0")
api("dev.kaccelero:database-ktor-sessions:0.4.0")
```

```xml
Expand All @@ -16,7 +16,7 @@ api("dev.kaccelero:database-ktor-sessions:0.3.0")
<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>database-ktor-sessions-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>
```
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 2 additions & 2 deletions health-ktor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Health check for Ktor projects.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:health-ktor:0.3.0")
api("dev.kaccelero:health-ktor:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>health-ktor-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions health-sentry-ktor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A Sentry plugin for Ktor
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:health-sentry-ktor:0.3.0")
api("dev.kaccelero:health-sentry-ktor:0.4.0")
```

```xml
Expand All @@ -16,7 +16,7 @@ api("dev.kaccelero:health-sentry-ktor:0.3.0")
<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>health-sentry-ktor-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>
```
Expand Down
4 changes: 2 additions & 2 deletions i18n-ktor-freemarker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An i18n plugin for Ktor Freemarker
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:i18n-ktor-freemarker:0.3.0")
api("dev.kaccelero:i18n-ktor-freemarker:0.4.0")
```

```xml
Expand All @@ -16,7 +16,7 @@ api("dev.kaccelero:i18n-ktor-freemarker:0.3.0")
<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>i18n-ktor-freemarker-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>
```
Expand Down
4 changes: 2 additions & 2 deletions i18n-ktor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ i18n extension for ktor.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:i18n-ktor:0.3.0")
api("dev.kaccelero:i18n-ktor:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>i18n-ktor-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions i18n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ i18n implementations for Kotlin Multiplatform.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:i18n:0.3.0")
api("dev.kaccelero:i18n:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>i18n-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```
4 changes: 2 additions & 2 deletions routers-client-ktor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Client for APIs using routers.
Add dependency to your `build.gradle(.kts)` or `pom.xml`:

```kotlin
api("dev.kaccelero:routers-client-ktor:0.3.0")
api("dev.kaccelero:routers-client-ktor:0.4.0")
```

```xml

<dependency>
<groupId>dev.kaccelero</groupId>
<artifactId>routers-client-ktor-jvm</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```
Loading

0 comments on commit a70aa94

Please sign in to comment.