Skip to content

Commit

Permalink
fixing publish
Browse files Browse the repository at this point in the history
  • Loading branch information
navery-max committed Feb 9, 2024
1 parent 7a3f8cd commit 82fdbaa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Arg: Avro Random Generator
# Kafka Random Generator

__NOTE: Building is required to run the program.__

## What does it do?

#### The boring stuff

Arg reads a schema through either stdin or a CLI-specified file and
Reads a schema through either stdin or a CLI-specified file and
generates random data to fit it.

Arg can output data in either JSON or binary format, and when outputting
Can output data in either JSON or binary format, and when outputting
in JSON, can either print in compact format (one instance of spoofed
data per line) or pretty format.

Expand All @@ -21,17 +21,17 @@ default is currently 1.

#### The cool stuff

Arg also allows for special annotations in the Avro schema it spoofs
Also allows for special annotations in the Avro schema it spoofs
that narrow down the kind of data produced. For example, when spoofing
a string, you can currently either specify a length that the string
should be (or one or both of a minimum and maximum that the length
should be), a list of possible strings that the string should come from,
or a regular expression that the string should adhere to. These
annotations are specified inside the schema that Arg spoofs, as parts of
annotations are specified inside the schema that it spoofs, as parts of
a JSON object with an attribute name of "arg.properties".

These annotations are specified as JSON properties in the schema that
Arg spoofs. They should not collide with any existing properties, or
it spoofs. They should not collide with any existing properties, or
cause any issues if present when the schema is used with other programs.

## Building
Expand Down
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@ tasks.register('javadocJar', Jar) {
from(tasks.named('javadoc'))
}

tasks.register('sourcesJar', Jar) {
tasks.register('sourceJar', Jar) {
archiveClassifier.set('sources')
from sourceSets.main.allSource
}


tasks.register('standalone', Jar) {
destinationDirectory.set(file("$rootDir/bin"))
archiveFileName.set('arg.jar')
Expand All @@ -100,8 +101,9 @@ publishing {
groupId = 'io.specmesh'
artifactId = 'kafka-random-generator'
version = project.version
artifact sourceJar // Include sources JAR
artifact javadocJar // Include Javadoc JAR
artifact sourceJar
artifact javadocJar

pom {
name = 'Kafka Random Generator'
description = 'Kafka Random Generator is a tool for randomly generating data to match Avro schemas'
Expand Down Expand Up @@ -154,7 +156,7 @@ signing {
}

artifacts {
archives jar, javadocJar, sourcesJar
archives jar, javadocJar, sourceJar
}

checkstyle {
Expand Down

0 comments on commit 82fdbaa

Please sign in to comment.