Skip to content

Commit

Permalink
build everything on jdk11
Browse files Browse the repository at this point in the history
breandan committed Apr 24, 2021
1 parent d1cf47f commit ee4e220
Showing 5 changed files with 18 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ repositories {
}

dependencies {
implementation("com.github.breandan:kotlingrad:0.4.3")
implementation("com.github.breandan:kotlingrad:0.4.4")
}
```

@@ -102,7 +102,7 @@ dependencies {
<dependency>
<groupId>com.github.breandan</groupId>
<artifactId>kotlingrad</artifactId>
<version>0.4.3</version>
<version>0.4.4</version>
</dependency>
</project>
```
@@ -113,7 +113,7 @@ To access Kotlin∇'s notebook support, use the following line magic:

```
@file:Repository("https://jitpack.io")
@file:DependsOn("com.github.breandan:kotlingrad:0.4.3")
@file:DependsOn("com.github.breandan:kotlingrad:0.4.4")
```

For more information, explore the [tutorial](samples/notebooks/hello_kotlingrad.ipynb).
@@ -920,7 +920,7 @@ If you would like to cite Kotlin∇, please use the following `bibtex` entry:
author = {Considine, Breandan and Famelis, Michalis and Paull, Liam},
title = {Kotlin$\nabla$: A Shape-Safe e{DSL} for Differentiable Programming},
url = {https://github.com/breandan/kotlingrad},
version = {0.4.3},
version = {0.4.4},
year = {2019},
}
```
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ allprojects {
}

group = "com.github.breandan"
version = "0.4.3"
version = "0.4.4"

apply(plugin = "org.jetbrains.kotlin.jvm")

@@ -32,6 +32,12 @@ allprojects {
}

tasks {
compileKotlin {
kotlinOptions {
jvmTarget = VERSION_11.toString()
}
}

compileTestKotlin {
kotlinOptions {
jvmTarget = VERSION_11.toString()
5 changes: 5 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.gradle.api.JavaVersion.VERSION_11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
import org.gradle.api.tasks.testing.logging.TestLogEvent.*
@@ -42,6 +43,10 @@ dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-scripting-jsr223")
}

configure<JavaPluginConvention> {
sourceCompatibility = VERSION_11
}

tasks {
compileKotlin { dependsOn("genShapes") }

2 changes: 1 addition & 1 deletion kaliningraph
2 changes: 1 addition & 1 deletion samples/notebooks/hello_kotlingrad.ipynb
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"outputs": [],
"source": [
"@file:Repository(\"https://jitpack.io\")\n",
"@file:DependsOn(\"com.github.breandan:kotlingrad:0.4.3\")"
"@file:DependsOn(\"com.github.breandan:kotlingrad:0.4.4\")"
]
},
{

0 comments on commit ee4e220

Please sign in to comment.