-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from refinedmods/release/0.4.0
Release v0.4.0
- Loading branch information
Showing
24 changed files
with
293 additions
and
61 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 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 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 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 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 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,41 @@ | ||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar | ||
|
||
plugins { | ||
id("application") | ||
id("com.github.johnrengelman.shadow").version("8.1.1") | ||
id("refinedarchitect.root") | ||
} | ||
|
||
application { | ||
mainClass.set("com.refinedmods.refinedsites.RefinedSites") | ||
} | ||
|
||
group = "com.refinedmods" | ||
base { | ||
archivesName.set("refinedsites") | ||
} | ||
|
||
dependencies { | ||
compileOnly("org.projectlombok:lombok:1.18.30") | ||
implementation("com.google.code.gson:gson:2.10.1") | ||
annotationProcessor("org.projectlombok:lombok:1.18.30") | ||
implementation("org.thymeleaf:thymeleaf:3.1.2.RELEASE") | ||
implementation("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0") | ||
implementation("org.asciidoctor:asciidoctorj:2.5.10") | ||
implementation("com.github.slugify:slugify:3.0.6") | ||
implementation("com.vdurmont:semver4j:3.1.0") | ||
implementation("org.slf4j:slf4j-api:2.0.9") | ||
implementation("org.slf4j:slf4j-simple:2.0.9") | ||
implementation("org.kohsuke:github-api:1.318") | ||
implementation("org.eclipse.jgit:org.eclipse.jgit:6.7.0.202309050840-r") | ||
implementation("org.commonmark:commonmark:0.21.0") | ||
implementation("com.github.dfabulich:sitemapgen4j:1.1.2") | ||
implementation("com.rometools:rome:2.1.0") | ||
} | ||
|
||
// https://github.com/ultraq/thymeleaf-layout-dialect/issues/220#issuecomment-944874151 | ||
tasks { | ||
named<ShadowJar>("shadowJar") { | ||
mergeGroovyExtensionModules() | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<code_scheme name="Refined Mods" version="173"> | ||
<JavaCodeStyleSettings> | ||
<option name="GENERATE_FINAL_LOCALS" value="true" /> | ||
<option name="GENERATE_FINAL_PARAMETERS" value="true" /> | ||
<option name="SPACE_INSIDE_ONE_LINE_ENUM_BRACES" value="true" /> | ||
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" /> | ||
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" /> | ||
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND"> | ||
<value /> | ||
</option> | ||
<option name="IMPORT_LAYOUT_TABLE"> | ||
<value> | ||
<package name="com.refinedmods" withSubpackages="true" static="false" /> | ||
<emptyLine /> | ||
<package name="java" withSubpackages="true" static="false" /> | ||
<package name="javax" withSubpackages="true" static="false" /> | ||
<emptyLine /> | ||
<package name="" withSubpackages="true" static="false" /> | ||
<emptyLine /> | ||
<package name="" withSubpackages="true" static="true" /> | ||
</value> | ||
</option> | ||
</JavaCodeStyleSettings> | ||
<ScalaCodeStyleSettings> | ||
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" /> | ||
</ScalaCodeStyleSettings> | ||
<codeStyleSettings language="Cookie"> | ||
<indentOptions> | ||
<option name="USE_TAB_CHARACTER" value="false" /> | ||
</indentOptions> | ||
</codeStyleSettings> | ||
<codeStyleSettings language="JAVA"> | ||
<option name="RIGHT_MARGIN" value="120" /> | ||
<option name="BLANK_LINES_BEFORE_PACKAGE" value="1" /> | ||
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" /> | ||
<option name="CALL_PARAMETERS_WRAP" value="1" /> | ||
<option name="METHOD_PARAMETERS_WRAP" value="1" /> | ||
<option name="RESOURCE_LIST_WRAP" value="1" /> | ||
<option name="EXTENDS_LIST_WRAP" value="1" /> | ||
<option name="THROWS_LIST_WRAP" value="1" /> | ||
<option name="EXTENDS_KEYWORD_WRAP" value="1" /> | ||
<option name="THROWS_KEYWORD_WRAP" value="1" /> | ||
<option name="METHOD_CALL_CHAIN_WRAP" value="1" /> | ||
<option name="BINARY_OPERATION_WRAP" value="1" /> | ||
<option name="TERNARY_OPERATION_WRAP" value="1" /> | ||
<option name="FOR_STATEMENT_WRAP" value="1" /> | ||
<option name="ARRAY_INITIALIZER_WRAP" value="1" /> | ||
<option name="ASSIGNMENT_WRAP" value="1" /> | ||
<option name="ASSERT_STATEMENT_WRAP" value="1" /> | ||
<option name="IF_BRACE_FORCE" value="3" /> | ||
<option name="DOWHILE_BRACE_FORCE" value="3" /> | ||
<option name="WHILE_BRACE_FORCE" value="3" /> | ||
<option name="FOR_BRACE_FORCE" value="3" /> | ||
<option name="PARAMETER_ANNOTATION_WRAP" value="1" /> | ||
<option name="VARIABLE_ANNOTATION_WRAP" value="1" /> | ||
<option name="ENUM_CONSTANTS_WRAP" value="1" /> | ||
<indentOptions> | ||
<option name="CONTINUATION_INDENT_SIZE" value="4" /> | ||
</indentOptions> | ||
</codeStyleSettings> | ||
<codeStyleSettings language="NBTT"> | ||
<indentOptions> | ||
<option name="USE_TAB_CHARACTER" value="false" /> | ||
</indentOptions> | ||
</codeStyleSettings> | ||
</code_scheme> |
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,2 +1,3 @@ | ||
refinedarchitectVersion=0.17.1 | ||
# Gradle | ||
org.gradle.jvmargs=-Xmx1G |
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,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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,23 @@ | ||
pluginManagement { | ||
repositories { | ||
mavenCentral() | ||
gradlePluginPortal() | ||
maven { | ||
url = uri("https://maven.pkg.github.com/refinedmods/refinedarchitect") | ||
credentials { | ||
username = "anything" | ||
password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX" | ||
} | ||
} | ||
maven { | ||
name = "Fabric" | ||
url = uri("https://maven.fabricmc.net/") | ||
} | ||
} | ||
val refinedarchitectVersion: String by settings | ||
plugins { | ||
id("refinedarchitect.root").version(refinedarchitectVersion) | ||
} | ||
} | ||
|
||
rootProject.name = "refinedsites" |
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
15 changes: 15 additions & 0 deletions
15
src/main/java/com/refinedmods/refinedsites/render/ArticleRender.java
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,15 @@ | ||
package com.refinedmods.refinedsites.render; | ||
|
||
import java.time.LocalDate; | ||
|
||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@RequiredArgsConstructor | ||
@Getter | ||
public class ArticleRender { | ||
private final String title; | ||
private final String description; | ||
private final String url; | ||
private final LocalDate date; | ||
} |
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
Oops, something went wrong.