diff --git a/build.gradle.kts b/build.gradle.kts index 1f49edb..9ef307f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,10 +1,10 @@ plugins { - id("org.metaborg.gradle.config.root-project") version "0.5.6" - id("org.metaborg.gitonium") version "1.2.0" + id("org.metaborg.gradle.config.root-project") version "0.5.6" + id("org.metaborg.gitonium") version "1.2.0" } subprojects { - metaborg { - configureSubProject() - } + metaborg { + configureSubProject() + } } diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 56064fc..fffec62 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,20 +1,20 @@ plugins { - id("org.metaborg.gradle.config.java-library") - id("org.metaborg.gradle.config.junit-testing") + id("org.metaborg.gradle.config.java-library") + id("org.metaborg.gradle.config.junit-testing") } dependencies { - api(platform(project(":common.depconstraints"))) - annotationProcessor(platform(project(":common.depconstraints"))) - testImplementation(platform(project(":common.depconstraints"))) + api(platform(project(":common.depconstraints"))) + annotationProcessor(platform(project(":common.depconstraints"))) + testImplementation(platform(project(":common.depconstraints"))) - api("org.metaborg:resource") + api("org.metaborg:resource") - compileOnly("org.derive4j:derive4j-annotation") - compileOnly("org.checkerframework:checker-qual-android") + compileOnly("org.derive4j:derive4j-annotation") + compileOnly("org.checkerframework:checker-qual-android") - annotationProcessor("org.derive4j:derive4j") + annotationProcessor("org.derive4j:derive4j") - testCompileOnly("org.checkerframework:checker-qual-android") - testImplementation("nl.jqno.equalsverifier:equalsverifier:3.1.12") + testCompileOnly("org.checkerframework:checker-qual-android") + testImplementation("nl.jqno.equalsverifier:equalsverifier:3.1.12") } diff --git a/depconstraints/build.gradle.kts b/depconstraints/build.gradle.kts index 55fd0cc..0240435 100644 --- a/depconstraints/build.gradle.kts +++ b/depconstraints/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - `java-platform` - `maven-publish` + `java-platform` + `maven-publish` } val resourceVersion = "0.14.1" @@ -8,18 +8,18 @@ val checkerframeworkVersion = "3.16.0" val derive4jVersion = "1.1.1" dependencies { - constraints { - api("org.metaborg:resource:$resourceVersion") - api("org.checkerframework:checker-qual-android:$checkerframeworkVersion") // Use android version: annotation retention policy is class instead of runtime. - api("org.derive4j:derive4j:$derive4jVersion") - api("org.derive4j:derive4j-annotation:$derive4jVersion") - } + constraints { + api("org.metaborg:resource:$resourceVersion") + api("org.checkerframework:checker-qual-android:$checkerframeworkVersion") // Use android version: annotation retention policy is class instead of runtime. + api("org.derive4j:derive4j:$derive4jVersion") + api("org.derive4j:derive4j-annotation:$derive4jVersion") + } } publishing { - publications { - create("JavaPlatform") { - from(components["javaPlatform"]) + publications { + create("JavaPlatform") { + from(components["javaPlatform"]) + } } - } } diff --git a/settings.gradle.kts b/settings.gradle.kts index 7015fea..3ab6160 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,14 +1,14 @@ rootProject.name = "common.root" pluginManagement { - repositories { - maven("https://artifacts.metaborg.org/content/groups/public/") - } + repositories { + maven("https://artifacts.metaborg.org/content/groups/public/") + } } fun includeProject(path: String, id: String = "common.${path.replace('/', '.')}") { - include(id) - project(":$id").projectDir = file(path) + include(id) + project(":$id").projectDir = file(path) } include("common")