Skip to content

Commit

Permalink
Attempt to fix -kt library compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cypherdare committed Aug 27, 2023
1 parent 03351f1 commit c84c827
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.1.7
* Attempt to fix -kt compatibility with Java compile version.

# 0.1.6
* Update -kt version's Kotlin version to 1.8.20
* Update libGDX version to 1.12.0
Expand Down
24 changes: 13 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ subprojects {
}
}

publishing {
repositories {
maven {
name = "OSSRH"
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
}
}
}
}

configure(project.librarySubProjects) {
apply plugin: "java-library"

Expand Down Expand Up @@ -82,17 +95,6 @@ configure(project.librarySubProjects) {
}
}
}

repositories {
maven {
name = "OSSRH"
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
}
}
}
}

signing {
Expand Down
7 changes: 4 additions & 3 deletions gdxtween-kt/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.8.20'
id 'java-library'
}

compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}

Expand Down
4 changes: 0 additions & 4 deletions gdxtween/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@


sourceCompatibility = 1.7
targetCompatibility = 1.7

//[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
libraryGroup=com.cyphercove.gdxtween
libraryVersion=0.1.6
libraryVersion=0.1.7

gdxVersion=1.12.0

Expand Down

0 comments on commit c84c827

Please sign in to comment.