Skip to content
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
3 changes: 1 addition & 2 deletions .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ jobs:
id: actions_project_version_check
with:
token: ${{ secrets.GITHUB_TOKEN }}
file-to-check: pom.xml
pom-property-as-version: oap.project.version
file-to-check: gradle.properties
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ modules.xml
vcs.xml
workspace.xml
target/
build/

*.versionsBackup
.surefire*
Expand All @@ -22,3 +23,4 @@ kotlinc.xml
/.idea/runConfigurations.xml
/.idea/sonarlint/*
/codemr/*
/.gradle
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

A light-weight application framework to build high performant and distributed java applications.

## Build

```bash
./gradlew build # full build
./gradlew build -x test # skip tests
./gradlew publish # publish to repository
```

## Modules

| Module | Description |
Expand All @@ -18,7 +26,8 @@ A light-weight application framework to build high performant and distributed ja
| [oap-storage](oap-storage/README.md) | In-memory object store (`MemoryStorage`) with MongoDB sync and cloud object storage |
| [oap-highload](oap-highload/README.md) | CPU affinity utility for pinning threads to specific CPU cores |
| [oap-mail](oap-mail/README.md) | Email sending via SMTP and SendGrid with a persistent delivery queue |
| [oap-maven-plugin](oap-maven-plugin/README.md) | Build-time code generation: startup scripts and dictionary enum source files |
| [oap-mcp](oap-mcp/README.md) | MCP (Model Context Protocol) server — SSE transport, `@McpTool`/`@McpPrompt` annotations, admin tools for log-level and JPath inspection |
| [oap-maven-plugin](oap-maven-plugin/README.md) | Gradle plugins: `oap.copy` (resource packaging), `oap.startup-scripts` (launch scripts), `oap.dictionary` (enum codegen), `oap.openapi` (OpenAPI generation) |

## Guides

Expand Down
17 changes: 17 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// subproject configuration is handled by oap.java-convention

subprojects {
plugins.withType<JavaPlugin> {
configurations {
named("testAnnotationProcessor") {
extendsFrom(configurations["annotationProcessor"])
}
named("testCompileOnly") {
extendsFrom(configurations["compileOnly"])
}
}
}
tasks.withType<Checkstyle>().configureEach {
exclude { it.file.path.contains("java-antlr-generated") }
}
}
6 changes: 6 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kotlin.parallel.tasks.in.project=true
org.gradle.configuration-cache=true
version=25.8.0
group=oap
org.gradle.jvmargs=-Xmx2g
oap.java-convention.version=25.2.0.CE-173-oap-maven-maven-gradle.118
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
9 changes: 9 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
248 changes: 248 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading