diff --git a/build.gradle.kts b/build.gradle.kts index dc3f638..1fc8232 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ version = "6.2" plugins { kotlin("jvm") version "1.6.20" - id("org.jetbrains.dokka") version "1.6.10" + id("org.jetbrains.dokka") version "1.6.20" id("maven-publish") id("com.github.johnrengelman.shadow") version "7.1.2" } diff --git a/config.properties b/config.properties new file mode 100644 index 0000000..5c9990d --- /dev/null +++ b/config.properties @@ -0,0 +1,5 @@ +database.target-version=7 +database.url=jdbc:mysql://172.19.0.2/ +database.name=cre +database.username=root +database.password=pass diff --git a/src/main/kotlin/dev/fyloz/colorrecipesexplorer/databasemanager/Properties.kt b/src/main/kotlin/dev/fyloz/colorrecipesexplorer/databasemanager/Properties.kt index d98b2b0..2b76a9d 100644 --- a/src/main/kotlin/dev/fyloz/colorrecipesexplorer/databasemanager/Properties.kt +++ b/src/main/kotlin/dev/fyloz/colorrecipesexplorer/databasemanager/Properties.kt @@ -5,7 +5,7 @@ import java.io.FileInputStream import java.util.* /** The latest version of the database supported by the utility. The [DatabaseUpdaterProperties] target version cannot be higher than this. */ -internal const val LATEST_DATABASE_VERSION = 6 +internal const val LATEST_DATABASE_VERSION = 7 /** The key of the target version property */ internal const val PROPERTY_TARGET_VERSION = "database.target-version" diff --git a/src/main/resources/changelogs/changelog.7.xml b/src/main/resources/changelogs/changelog.7.xml new file mode 100644 index 0000000..ad044a2 --- /dev/null +++ b/src/main/resources/changelogs/changelog.7.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/changelogs/changelog.master.7.xml b/src/main/resources/changelogs/changelog.master.7.xml new file mode 100644 index 0000000..83e1467 --- /dev/null +++ b/src/main/resources/changelogs/changelog.master.7.xml @@ -0,0 +1,14 @@ + + + + + + + + + +