Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#32 Объединил все компоненты под одним settings.gradle #43

Merged
merged 10 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Gradle Build Check

on:
pull_request:
paths:
- ".github/workflows/*"
- "**/*.kts"
- "**/*.properties"
- "gradle/*"
- "gradlew"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build Common
run: (./gradlew :common:build)

- name: Build Connection Service
run: (./gradlew :connection-service:build)

- name: Build Database Service
run: (./gradlew :db-service:build)

- name: Build Logging Service
run: (./gradlew :log-service:build)

- name: Build Emulator Service
run: (./gradlew :model-service:build)

- name: Build Mobile App
run: (./gradlew :mobile-app:build)
2 changes: 2 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: Markdown Check

on:
push:
paths:
Expand All @@ -11,6 +12,7 @@ on:
- ".github/workflows/*"
- ".markdownlint.yaml"
- "**/*.md"

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

# Gradle
build/
.gradle
!gradle/wrapper/gradle-wrapper.jar
local.properties
2 changes: 0 additions & 2 deletions common/.gitignore

This file was deleted.

15 changes: 6 additions & 9 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
plugins {
kotlin("jvm") version "1.9.22"
kotlin("plugin.serialization") version "1.9.22"
alias(libs.plugins.jetbrainsKotlinJvm)
alias(libs.plugins.kotlinSerialization)
}

group = "org.vivlaniv.nexohub"
version = "1.0-SNAPSHOT"

repositories {
mavenCentral()
kotlin {
jvmToolchain(17)
}

dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
}
implementation(libs.kotlinx.serialization.json)
}
5 changes: 0 additions & 5 deletions common/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

234 changes: 0 additions & 234 deletions common/gradlew

This file was deleted.

Loading
Loading