Skip to content

Commit

Permalink
fix errors when building
Browse files Browse the repository at this point in the history
  • Loading branch information
Deficuet authored and Deficuet committed Jan 3, 2024
1 parent e9284d7 commit 6f39047
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
buildscript {
ext.kotlin_version = "1.8.21"
}

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.8.21'
Expand All @@ -13,8 +17,6 @@ repositories {
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7'
implementation 'org.json:json:20230618'
implementation 'org.lz4:lz4-java:1.8.0'
Expand Down
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk11
5 changes: 4 additions & 1 deletion src/main/kotlin/io/github/deficuet/unitykt/classes/PPtr.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package io.github.deficuet.unitykt.classes

import io.github.deficuet.unitykt.*
import io.github.deficuet.unitykt.cast
import io.github.deficuet.unitykt.firstObjectOf
import io.github.deficuet.unitykt.firstOfOrNull
import io.github.deficuet.unitykt.internal.impl.PPtrImpl
import io.github.deficuet.unitykt.internal.impl.getObjInternal
import io.github.deficuet.unitykt.internal.impl.safeGetObjInternal
import io.github.deficuet.unitykt.safeCast

interface PPtr<out T: UnityObject> {
val mFileID: Int
Expand Down

0 comments on commit 6f39047

Please sign in to comment.