Skip to content

Commit

Permalink
Merge pull request #52 from kbss-cvut/upgrade/upgrade-to-jopa-2.0.0-S…
Browse files Browse the repository at this point in the history
…NAPSHOT-tmp

[#47] Upgrade to jopa 2.0.0-SNAPSHOT
  • Loading branch information
blcham authored Jan 3, 2024
2 parents b475828 + 2469905 commit 34fcc78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "io.freefair.gradle:aspectj-plugin:6.4.3"
}
}

plugins {
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.3'
id 'io.freefair.aspectj.post-compile-weaving' version '8.4'
id 'java'
id 'war'
}
Expand All @@ -25,6 +21,12 @@ compileJava {

repositories {
mavenCentral()
maven{
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
}

war {
Expand All @@ -34,7 +36,7 @@ war {
sourceSets.main.java.srcDirs += "src/main/generated"

dependencies {
def jopaVersion = '1.1.4'
def jopaVersion = '2.0.0-SNAPSHOT'
implementation "cz.cvut.kbss.jopa:jopa-impl:$jopaVersion"
implementation "cz.cvut.kbss.jopa:ontodriver-rdf4j:$jopaVersion"
implementation 'cz.cvut.kbss.jsonld:jb4jsonld-jackson:0.13.2'
Expand All @@ -57,8 +59,6 @@ dependencies {

implementation 'javax.xml.bind:jaxb-api:2.3.1' // needed for java 17

aspect 'cz.cvut.kbss.jopa:jopa-impl:1.1.4'

testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@EnableAspectJAutoProxy(proxyTargetClass = true)
@ComponentScan(basePackages = "cz.cvut.kbss.analysis.persistence")
@Import({TestPersistenceFactory.class})
@EnableTransactionManagement
Expand Down

0 comments on commit 34fcc78

Please sign in to comment.