Skip to content

Commit 9ac8e62

Browse files
committed
chore: maintenance
- prefixed all modules with `graphkt-` - use of version catalog instead of buildSrc - pumped dependencies versions - embraced kotlin multiplatform (even though only JVM target)
1 parent b7ef326 commit 9ac8e62

54 files changed

Lines changed: 265 additions & 207 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ repositories {
1919
dependencies {
2020
// Replace TAG with the desired version
2121
val graphkt_version = "TAG"
22-
implementation("org.cufy.graphkt:core:$graphkt_version")
23-
implementation("org.cufy.graphkt:ktor:$graphkt_version")
24-
implementation("org.cufy.graphkt:graphql-java:$graphkt_version")
22+
implementation("org.cufy.graphkt:graphkt-core:$graphkt_version")
23+
implementation("org.cufy.graphkt:graphkt-ktor:$graphkt_version")
24+
implementation("org.cufy.graphkt:graphkt-graphql-java:$graphkt_version")
2525
}
2626
```
2727

build.gradle.kts

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,20 @@
11
plugins {
2-
kotlin("jvm") version kotlin_version apply false
3-
kotlin("plugin.serialization") version kotlin_version apply false
4-
id("maven-publish")
2+
kotlin("jvm") version libs.versions.kotlin apply false
3+
kotlin("plugin.serialization") version libs.versions.kotlin apply false
54
}
65

76
group = "org.cufy"
87
version = "2.0.0"
98

10-
subprojects {
11-
repositories {
12-
mavenCentral()
13-
maven { url = uri("https://jitpack.io") }
14-
}
15-
16-
if (name == "example") return@subprojects
9+
tasks.wrapper {
10+
gradleVersion = "8.2.1"
11+
}
1712

13+
subprojects {
1814
group = "org.cufy.graphkt"
1915

20-
afterEvaluate {
21-
publishing {
22-
publications {
23-
create<MavenPublication>("maven") {
24-
from(components["java"])
25-
artifactId = project.name
26-
}
27-
}
28-
}
16+
repositories {
17+
mavenCentral()
18+
maven("https://jitpack.io")
2919
}
3020
}

buildSrc/build.gradle.kts

Lines changed: 0 additions & 7 deletions
This file was deleted.

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 0 additions & 38 deletions
This file was deleted.

core/build.gradle.kts

Lines changed: 0 additions & 25 deletions
This file was deleted.

example/build.gradle.kts

Lines changed: 0 additions & 37 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

2.9 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

100644100755
Lines changed: 17 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)