Skip to content

Commit

Permalink
Move unsigned support to samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Norman committed Feb 5, 2019
1 parent 62974a0 commit bab9b76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
'assertj': '1.7.0',
'shadowPlugin': '4.0.4',
'nodePlugin': '1.2.0',
'ktlintPlugin': '5.1.0',
'ktlintPlugin': '7.1.0',
]

ext.deps = [
Expand Down Expand Up @@ -43,7 +43,7 @@ buildscript {
'dokka': "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}",
'shadow': "com.github.jengelman.gradle.plugins:shadow:${versions.shadowPlugin}",
'node': "com.moowork.gradle:gradle-node-plugin:${versions.nodePlugin}",
'ktlint': "gradle.plugin.org.jlleitschuh.gradle:ktlint-gradle:${versions.ktlintPlugin}",
'ktlint': "org.jlleitschuh.gradle:ktlint-gradle:${versions.ktlintPlugin}",
'test': [
'junit': "junit:junit:${versions.junit}",
'assertj': "org.assertj:assertj-core:${versions.assertj}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
@file:JvmName("-Unsigned")
@file:Suppress("NOTHING_TO_INLINE") // Syntactic sugar.

package okio
package okio.samples

import okio.BufferedSink
import okio.BufferedSource
import okio.JvmName
import java.io.IOException

/** Writes a unsigned byte to this sink. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

@file:UseExperimental(ExperimentalUnsignedTypes::class)

package okio
package okio.samples

import okio.Buffer
import org.junit.Test
import kotlin.test.assertEquals

Expand Down

0 comments on commit bab9b76

Please sign in to comment.