Skip to content

Commit 46fc679

Browse files
authored
Merge pull request #20 from hkuich/0.1.0
- updated to client-alpha-12 and working now with core-alpha-9
2 parents bdf52db + b00d351 commit 46fc679

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ There is this [example repository](https://github.com/bayer-science-for-a-better
122122

123123
## Compatibility
124124

125-
GraMi version >= 0.1.0 is tested for:
126-
- [grakn-core](https://github.com/graknlabs/grakn) >= 2.0-alpha-6
127-
- [client-java](https://github.com/graknlabs/client-java) >= 2.0.0-alpha-8
125+
GraMi version >= 0.1.0-alpha-12 is tested for:
126+
- [grakn-core](https://github.com/graknlabs/grakn) >= 2.0-alpha-9
127+
- using [client-java](https://github.com/graknlabs/client-java) >= 2.0.0-alpha-12
128128

129129
GraMi version < 0.1.0 is tested for:
130130
- [grakn-core](https://github.com/graknlabs/grakn) >= 1.8.2

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group 'com.github.bayer-science-for-a-better-life'
8-
version '0.1.0-alpha-9'
8+
version '0.1.0-alpha-12'
99

1010
repositories {
1111
mavenCentral()
@@ -15,7 +15,7 @@ repositories {
1515
}
1616

1717
dependencies {
18-
compile group: 'io.grakn.client', name: 'grakn-client', version: '2.0.0-alpha-9'
18+
compile group: 'io.grakn.client', name: 'grakn-client', version: '2.0.0-alpha-12'
1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
compile 'com.google.code.gson:gson:2.8.6'
2121
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'

src/main/java/insert/GraknInserter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public GraknClient getClient() {
134134

135135
private void deleteDatabaseIfExists(GraknClient client) {
136136
if (client.databases().contains(databaseName)) {
137-
client.databases().delete(databaseName);
137+
client.databases().get(databaseName).delete();
138138
}
139139
}
140140

0 commit comments

Comments
 (0)