Skip to content

Commit

Permalink
-Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
erenalpaslan committed Apr 8, 2023
1 parent 44a6225 commit 8f845f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlinVersion}")
}
}
plugins {
java
`maven-publish`
id("org.jetbrains.kotlin.plugin.sam.with.receiver") version Versions.kotlinVersion
`java-library`
id("org.jetbrains.kotlin.jvm") version Versions.kotlinVersion
}

group = "mobi.appcent"
Expand Down Expand Up @@ -42,6 +41,14 @@ dependencies {
java {
withJavadocJar()
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
}

publishing {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
object Versions {
const val kotlinVersion = "1.7.20"
const val kotlinVersion = "1.5.31"
}

0 comments on commit 8f845f4

Please sign in to comment.