-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This heavily relies on buildSrc and conventions to unify most of the build architecture. Versions are now externally defined via TOML file. Style is enforced via Spotless, but styling has not been applied to any files not touched by this commit. Documentation is now a gradle project with custom Jekyll build and serve tasks.
- Loading branch information
1 parent
1de0daa
commit f116916
Showing
78 changed files
with
1,811 additions
and
1,202 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
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,20 @@ | ||
/* | ||
* Copyright 2021-2022 The BoardGameWork Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
plugins { id("tools.aqua.bgw.jekyll-conventions") } | ||
|
||
dependencies { includedKDoc(project(":bgw-gui", "kdoc")) } |
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,2 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages', group: :jekyll_plugins |
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 @@ | ||
remote_theme: pmarsceill/just-the-docs |
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,25 1,29 @@ | ||
@file:Suppress("SpellCheckingInspection") | ||
/* | ||
* Copyright 2022 The BoardGameWork Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
plugins { id("tools.aqua.bgw.executable-conventions") } | ||
|
||
plugins { | ||
kotlin("jvm") | ||
} | ||
|
||
group = "tools.aqua" | ||
version = rootProject.version | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenMetadata { | ||
name.set("BoardGameWork Docs Examples") | ||
description.set("The BGW documentation examples.") | ||
} | ||
|
||
dependencies { | ||
implementation(kotlin("stdlib-jdk8")) | ||
implementation(project(":bgw-gui")) | ||
implementation(project(":bgw-net:bgw-net-common")) | ||
implementation(project(":bgw-net:bgw-net-client")) | ||
implementation(project(":bgw-gui")) | ||
implementation(project(":bgw-net:bgw-net-client")) | ||
implementation(project(":bgw-net:bgw-net-common")) | ||
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions.jvmTarget = "11" | ||
} |
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,25 1,31 @@ | ||
@file:Suppress("SpellCheckingInspection") | ||
/* | ||
* Copyright 2022 The BoardGameWork Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
plugins { id("tools.aqua.bgw.executable-conventions") } | ||
|
||
plugins { | ||
kotlin("jvm") | ||
} | ||
|
||
group = "tools.aqua" | ||
version = rootProject.version | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenMetadata { | ||
name.set("BoardGameWork MauMau Example") | ||
description.set("The BGW MauMau example.") | ||
} | ||
|
||
dependencies { | ||
implementation(kotlin("stdlib-jdk8")) | ||
implementation(project(":bgw-gui")) | ||
implementation(project(":bgw-net:bgw-net-common")) | ||
implementation(project(":bgw-net:bgw-net-client")) | ||
implementation(project(":bgw-gui")) | ||
implementation(project(":bgw-net:bgw-net-client")) | ||
implementation(project(":bgw-net:bgw-net-common")) | ||
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions.jvmTarget = "11" | ||
} | ||
application { mainClass.set("tools.aqua.bgw.examples.maumau.main.MainKt") } |
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,23 1,27 @@ | ||
@file:Suppress("SpellCheckingInspection") | ||
/* | ||
* Copyright 2022 The BoardGameWork Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
plugins { id("tools.aqua.bgw.executable-conventions") } | ||
|
||
plugins { | ||
kotlin("jvm") | ||
mavenMetadata { | ||
name.set("BoardGameWork Sudoku Example") | ||
description.set("The BGW Sudoku example.") | ||
} | ||
|
||
group = "tools.aqua" | ||
version = rootProject.version | ||
dependencies { implementation(project(":bgw-gui")) } | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(kotlin("stdlib-jdk8")) | ||
implementation(project(":bgw-gui")) | ||
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions.jvmTarget = "11" | ||
} | ||
application { mainClass.set("tools.aqua.bgw.examples.sudoku.main.MainKt") } |
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,23 1,27 @@ | ||
@file:Suppress("SpellCheckingInspection") | ||
/* | ||
* Copyright 2022 The BoardGameWork Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
plugins { id("tools.aqua.bgw.executable-conventions") } | ||
|
||
plugins { | ||
kotlin("jvm") | ||
mavenMetadata { | ||
name.set("BoardGameWork Tetris Example") | ||
description.set("The BGW Tetris example.") | ||
} | ||
|
||
group = "tools.aqua" | ||
version = rootProject.version | ||
dependencies { implementation(project(":bgw-gui")) } | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(kotlin("stdlib-jdk8")) | ||
implementation(project(":bgw-gui")) | ||
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions.jvmTarget = "11" | ||
} | ||
application { mainClass.set("tools.aqua.bgw.examples.tetris.main.MainKt") } |
Oops, something went wrong.