Skip to content

Commit

Permalink
Ct 261 oppdater sarbarheter (#2)
Browse files Browse the repository at this point in the history
* Updated gradle & dependencies

* Updated snakeyaml

* Updated the update..

* Updated quotes

* Added workflow files

* Updated issues

* Adjusted versions & spaces
  • Loading branch information
hknots authored Oct 26, 2022
1 parent 71c478f commit 95527ea
Show file tree
Hide file tree
Showing 7 changed files with 309 additions and 164 deletions.
70 changes: 40 additions & 30 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,48 +1,58 @@
import org.springframework.boot.gradle.plugin.SpringBootPlugin

plugins {
id 'com.github.ben-manes.versions' version '0.20.0'
id 'com.github.kt3k.coveralls' version '2.8.2'
id 'org.springframework.boot' version '2.7.5' apply false
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'groovy'
id 'maven-publish'
id 'java-library'
}

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'jacoco'
group = 'no.fintlabs'

sourceCompatibility = '17'

sourceCompatibility = 1.8

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}

repositories {
mavenLocal()
maven {
url 'https://repo.fintlabs.no/releases'
}
mavenCentral()
jcenter()
mavenLocal()
}

apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/v1.5.0/dependencies.gradle'
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
compile('org.springframework.security.oauth:spring-security-oauth2:2.3.4.RELEASE')
compileOnly("org.projectlombok:lombok:${lombokVersion}")

testCompile("cglib:cglib-nodep:${cglibVersion}")
testCompile("org.spockframework:spock-spring:${spockSpringVersion}")
testCompile("org.spockframework:spock-core:${spockSpringVersion}")
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
dependencyManagement {
imports {
mavenBom SpringBootPlugin.BOM_COORDINATES
}
}

test {
testLogging {
events 'passed', 'skipped', 'failed'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.yaml:snakeyaml'
implementation 'org.springframework.security.oauth:spring-security-oauth2'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

testImplementation 'cglib:cglib-nodep:3.3.0'
testImplementation 'org.spockframework:spock-spring:2.3-groovy-3.0'
testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

jacocoTestReport {
reports {
xml.enabled true
}
test {
useJUnitPlatform()
}

apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/v1.5.0/dependencyReport.gradle'
apply from: 'https://raw.githubusercontent.com/FINTLabs/fint-buildscripts/master/reposilite.gradle'
apply from: 'https://raw.githubusercontent.com/FINTLabs/fint-buildscripts/master/reposilite.ga.gradle'
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 95527ea

Please sign in to comment.