Skip to content

Commit 84c9312

Browse files
committed
v0.2
Kotlin 1.2.51 Gradle 4.9 Shadow 2.0.4 - size is var now - added VERSION
1 parent aff415e commit 84c9312

12 files changed

+43
-41
lines changed

.idea/appBuffer.iml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Gradle__com_github_kotlin_graphics_glm_1b99fb5661dd9fc224178b80835fc8edec7b835a.xml

-11
This file was deleted.

.idea/libraries/Gradle__com_github_kotlin_graphics_glm_fb0b292.xml

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Gradle__com_github_kotlin_graphics_kotlin_unsigned_0f6b48ccb2adb3a0c30e811cd75b4f2e66e1660b.xml

-11
This file was deleted.

.idea/libraries/Gradle__com_github_kotlin_graphics_kotlin_unsigned_a455438.xml

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_reflect_1_2_50.xml renamed to .idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_reflect_1_2_51.xml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_2_50.xml renamed to .idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_2_51.xml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_common_1_2_50.xml renamed to .idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_common_1_2_51.xml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
1111

1212
buildscript {
1313

14-
ext.kotlinVersion = '1.2.50'
14+
ext.kotlinVersion = '1.2.51'
1515

1616
repositories {
1717
jcenter() // shadow
@@ -22,7 +22,7 @@ buildscript {
2222

2323
dependencies {
2424
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
25-
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.3'
25+
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
2626
classpath "org.junit.platform:junit-platform-gradle-plugin:1.1.0"
2727
}
2828
}
@@ -35,7 +35,7 @@ dependencies {
3535
implementation "$kotlin-reflect:$kotlinVersion"
3636

3737
ext.kx = "com.github.kotlin-graphics"
38-
implementation "$kx:glm:1b99fb5661dd9fc224178b80835fc8edec7b835a"
38+
implementation "$kx:glm:fb0b292"
3939

4040
//testCompile 'io.kotlintest:kotlintest-runner-junit5:3.0.6'
4141

gradle/wrapper/gradle-wrapper.jar

0 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/kotlin/ab/appBuffer.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicLong
1010

1111
object appBuffer {
1212

13-
val SIZE = 2 shl 16 // 65536
13+
var SIZE = 2 shl 16 // 65536
1414

1515
var buffer = bufferBig(SIZE)
1616
var address = MemoryUtil.memAddress(buffer)
@@ -223,6 +223,8 @@ object appBuffer {
223223
fun printNext() = println("@${ptr.get() - address}: ${next()}")
224224
val remaining get() = SIZE - consumed
225225
val consumed get() = ptr.get() - address
226+
227+
val VERSION = "0.2"
226228
}
227229

228230
inline fun AtomicLong.advance(int: Int) = getAndAdd(int.L)

0 commit comments

Comments
 (0)