Skip to content

Commit

Permalink
gradle cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rchaing-figure committed Jul 6, 2023
1 parent afeaef5 commit b5e07e9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

- name: Publish to Maven Central
run: |
./gradlew publishToSonatype $(if [ "${{github.event.release.prerelease}}" = "true" ]; then echo 'closeAndReleaseSonatypeStagingRepository'; else echo 'closeAndReleaseSonatypeStagingRepository'; fi) \
./gradlew publishToSonatype $(if [ "${{github.event.release.prerelease}}" = "true" ]; then echo 'closeSonatypeStagingRepository'; else echo 'closeAndReleaseSonatypeStagingRepository'; fi) \
-PlibraryVersion=$VERSION \
-Psigning.keyId=69C08EA0 -Psigning.password="${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg \
--info
Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ plugins {
id("org.openapi.generator") version "5.4.0"
}

group = "tech.figure.aggregate"
version = "0.0.1-SNAPSHOT"
val javaVersion = JavaVersion.VERSION_17
java.sourceCompatibility = javaVersion
java.targetCompatibility = javaVersion

repositories {
mavenLocal()
mavenCentral()
maven( url = "https://jitpack.io")
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven(url = "https://jitpack.io")
}
}

dependencies {
Expand Down
4 changes: 0 additions & 4 deletions client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins{
idea
}

repositories {
mavenCentral()
}

dependencies {
api(projects.proto)
api(libs.bundles.grpc)
Expand Down
6 changes: 0 additions & 6 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@ plugins {
idea
}

group = "tech.figure.aggregate"
version = "0.0.1-SNAPSHOT"
val javaTarget = JavaVersion.VERSION_17
java.sourceCompatibility = javaTarget
java.targetCompatibility = javaTarget

repositories {
mavenCentral()
}

dependencies {
implementation(project(":proto"))
implementation(libs.bundles.kotlin)
Expand Down
4 changes: 0 additions & 4 deletions proto/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ plugins {
`maven-publish`
}

repositories {
mavenCentral()
}

dependencies {
implementation(libs.bundles.grpc)
implementation(libs.bundles.protobuf)
Expand Down
7 changes: 0 additions & 7 deletions repository/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@ plugins {
idea
}

group = "tech.figure.aggregate"
version = "0.0.1-SNAPSHOT"
val javaTarget = JavaVersion.VERSION_17
java.sourceCompatibility = javaTarget
java.targetCompatibility = javaTarget

repositories {
mavenCentral()
maven { url = uri("https://s01.oss.sonatype.org/content/groups/staging/") }
}

dependencies {
implementation(projects.common)

Expand Down
9 changes: 0 additions & 9 deletions service/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

plugins {
kotlin("jvm")
kotlin("plugin.serialization").version("1.8.21")
Expand All @@ -7,20 +6,12 @@ plugins {
idea
}

group = "tech.figure.aggregate"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17

application {
mainClass.set("tech.figure.aggregator.api.ApplicationKt")
}

repositories {
mavenLocal()
mavenCentral()
maven( url = "https://jitpack.io")
}

kotlin {
jvmToolchain(17)
}
Expand Down

0 comments on commit b5e07e9

Please sign in to comment.