-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some subprojects to kotlin script.
- Loading branch information
Showing
26 changed files
with
428 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
org.gradle.caching=true | ||
kotlin.daemon.jvmargs=-Xmx1024m |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
plugins { | ||
id("java-library") | ||
id("org.jetbrains.kotlin.jvm") | ||
id("org.jlleitschuh.gradle.ktlint") | ||
id("com.github.rahulsom.waena.published") | ||
} | ||
|
||
apply { | ||
from("$rootDir/gradle/jacoco.gradle") | ||
} | ||
|
||
description = "APIs that help in computation of Grooves based Snapshots" | ||
|
||
dependencies { | ||
api(project(":grooves-types")) | ||
|
||
implementation("io.reactivex.rxjava2:rxjava:2.2.21") | ||
implementation("org.slf4j:slf4j-api:2.0.4") | ||
|
||
compileOnly("org.codehaus.groovy:groovy:3.0.13") | ||
compileOnly("org.jetbrains:annotations:23.0.0") | ||
compileOnly("org.projectlombok:lombok:1.18.24") | ||
|
||
annotationProcessor("org.projectlombok:lombok:1.18.24") | ||
} | ||
|
||
tasks.withType<Javadoc>().configureEach { | ||
options { | ||
(this as StandardJavadocDocletOptions).addStringOption("Xdoclint:none", "-quiet") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import io.miret.etienne.gradle.sass.CompileSass | ||
|
||
plugins { | ||
id("java-library") | ||
id("groovy") | ||
id("org.jetbrains.kotlin.jvm") | ||
id("org.jlleitschuh.gradle.ktlint") | ||
id("com.github.rahulsom.waena.published") | ||
id("io.miret.etienne.sass").version("1.4.1") | ||
} | ||
|
||
apply { | ||
from("$rootDir/gradle/jacoco.gradle") | ||
} | ||
|
||
description = "Asciidoctor Extension to generate Event Sourcing Diagrams like those on https://rahulsom.github.io/grooves" | ||
|
||
repositories { | ||
google() | ||
} | ||
|
||
dependencies { | ||
implementation("com.github.rahulsom:svg-builder:0.4.1") | ||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") | ||
|
||
implementation("commons-beanutils:commons-beanutils:1.9.4") | ||
implementation("org.asciidoctor:asciidoctorj:2.5.7") | ||
implementation("org.slf4j:slf4j-api:2.0.4") | ||
|
||
implementation("javax.xml.bind:jaxb-api:2.3.1") | ||
|
||
testImplementation("org.spockframework:spock-core:2.1-groovy-3.0") | ||
} | ||
|
||
tasks.withType<CompileSass> { | ||
setSourceDir(project.file("$projectDir/src/main/resources")) | ||
outputDir = project.file("$buildDir/generated/css") | ||
} | ||
|
||
sourceSets { | ||
main { | ||
resources.srcDirs("$buildDir/generated/css") | ||
} | ||
} | ||
|
||
tasks.getByName("processResources").dependsOn("compileSass") | ||
tasks.getByName("sourceJar").dependsOn("compileSass") | ||
|
||
tasks.withType<Test> { | ||
useJUnitPlatform() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.