Skip to content
Draft
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
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
.vertx
.DS_Store
.gradle
**/build/
!src/**/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Avoid ignore Gradle wrappper properties
!gradle-wrapper.properties

# Cache of project
.gradletasknamecache

# Eclipse Gradle plugin generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
.classpath
.idea
.classpath
.project
Expand Down
50 changes: 50 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
plugins {
id 'java'
id 'maven-publish'
}

allprojects {
group = 'io.vertx'
version = vertxVersion

apply plugin: 'java'
apply plugin: 'maven-publish'

repositories {
mavenCentral()
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}

subprojects {
dependencies {
implementation "io.vertx:vertx-codegen:$vertxVersion"
implementation "io.vertx:vertx-docgen:3.5.1"
testImplementation "junit:junit:4.13.1"
testImplementation "io.vertx:vertx-core:$vertxVersion:tests"

implementation "io.vertx:vertx-core:$vertxVersion"
implementation("io.grpc:grpc-core:$grpcIoVersion") {
exclude group: 'com.google.guava', module: 'guava'
}
implementation("io.grpc:grpc-protobuf:$grpcIoVersion") {
exclude group: 'com.google.guava', module: 'guava'
}

implementation("io.grpc:grpc-stub:$grpcIoVersion") {
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
}
implementation("io.grpc:grpc-api:$grpcIoVersion") {
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
grpcIoVersion=1.68.1
vertxVersion=4.5.11
javaProtobufVersion=3.25.5
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
252 changes: 252 additions & 0 deletions gradlew

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

Loading