Skip to content

Commit

Permalink
update depencies and add changelog (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinSchramm authored Oct 29, 2021
1 parent 4e01523 commit 5296c7e
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 19 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
## [unreleased]
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- dependency upgrade kotlin 1.4.20 to 1.5.30
- Bump spring-boot-dependencies from 2.4.2 to 2.5.6

## [1.0.0]

### Added

### Changed
- AutoConfigured ExceptionHandler to expose ```ErrorResponse```
- AutoConfigured ResponseAdvice to expose ```Response``` via ```JsonApiResponse

[unreleased]: https://github.com/hndrs/jsonapi-spring-boot-starter/compare/v1.0.0...HEAD

### Removed
[1.0.0]: https://github.com/hndrs/jsonapi-spring-boot-starter/compare/a9b56be382ab065e05c602815dba1d77536f6595...v1.0.0
19 changes: 7 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
maven(url = "https://repo.spring.io/plugins-release")
}
dependencies {
classpath("io.spring.gradle:propdeps-plugin:0.0.9.RELEASE")
}
}

val springBootDependencies: String by extra
val kotlinVersion: String by extra

plugins {
id("org.sonarqube").version("3.1.1")
id("org.sonarqube").version("3.3")
id("io.spring.dependency-management")
kotlin("jvm")
kotlin("plugin.spring")
Expand All @@ -27,7 +23,7 @@ plugins {
id("maven-publish")
id("idea")
id("signing")
id("io.hndrs.publishing-info").version("1.1.0")
id("io.hndrs.publishing-info").version("2.0.0")
}

group = "io.hndrs"
Expand All @@ -44,8 +40,10 @@ sonarqube {
property("sonar.projectKey", "hndrs_jsonapi-spring-boot-starter")
property("sonar.organization", "hndrs")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.exclusions", "**/sample/**, **/response/Meta.kt," +
" **/response/Response.kt, **/response/ErrorResponse.kt")
property(
"sonar.exclusions", "**/sample/**, **/response/Meta.kt," +
" **/response/Response.kt, **/response/ErrorResponse.kt"
)
}
}

Expand All @@ -58,12 +56,9 @@ subprojects {
apply(plugin = "kotlin-kapt")
apply(plugin = "maven-publish")
apply(plugin = "jacoco")
apply(plugin = "propdeps")
apply(plugin = "propdeps-idea")
apply(plugin = "signing")
apply(plugin = "io.hndrs.publishing-info")

publishingInfo {
publishingInfo {
name = project.name
url = "https://github.com/hndrs/jsonapi-spring-boot-starter"
license = License(
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlinVersion=1.4.30
kotlinVersion=1.5.30
springDependencyManagement=1.0.11.RELEASE
springBootDependencies=2.4.2
springBootDependencies=2.5.6
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ project(":sample").projectDir = File("sample")
pluginManagement {
val kotlinVersion: String by settings
val springDependencyManagement: String by settings
println("Settings ${settings.extra.properties}")
plugins {
id("io.spring.dependency-management").version(springDependencyManagement)
kotlin("jvm").version(kotlinVersion)
Expand Down
2 changes: 1 addition & 1 deletion spring-json-api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
optional(group = "org.springframework.boot", name = "spring-boot-starter-web")
api(group = "org.springframework.boot", name = "spring-boot-starter-web")

testImplementation("io.mockk:mockk:1.10.6")
}
Expand Down

0 comments on commit 5296c7e

Please sign in to comment.