Skip to content

Commit

Permalink
version update to kotlin 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danbrough committed Aug 3, 2023
1 parent 766155d commit 47fe420
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}


val javaLangVersion = 11
val javaLangVersion = 8

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(javaLangVersion))
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/Xtras.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import org.gradle.plugin.use.PluginDependencySpec

object Xtras {
const val projectGroup = "org.danbrough.kotlinxtras"
const val version = "0.0.3-beta17"
const val publishingVersion = "0.0.3-beta17"
const val version = "0.0.3-beta15"
const val publishingVersion = "0.0.3-beta15"
const val repoName = "xtras"
const val javaLangVersion = 11
const val javaLangVersion = 8
}

fun PluginDependenciesSpec.xtras(plugin: String): PluginDependencySpec =
Expand Down
5 changes: 5 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ dependencies {
implementation("org.danbrough.kotlinxtras:plugin:${Xtras.version}")
}

repositories {
maven("https://repo.maven.apache.org/maven2/")

mavenCentral()
}

gradlePlugin {
plugins {
Expand Down
5 changes: 3 additions & 2 deletions core/src/main/kotlin/org/danbrough/kotlinxtras/core/curl.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ fun Project.enableCurl(
publishingGroup = CORE_PUBLISHING_PACKAGE


version = "8.0.1"
version = "8.2.1"

//git("https://github.com/curl/curl.git", "046209e561b7e9b5aab1aef7daebf29ee6e6e8c7")
git("https://github.com/curl/curl.git", "b16d1fa8ee567b52c09a0f89940b07d8491b881d")
//git("https://github.com/curl/curl.git", "b16d1fa8ee567b52c09a0f89940b07d8491b881d")
git("https://github.com/curl/curl.git", "a9f8fe28481fef7c28d85b4a12a3a35521408eaf")

val autoConfTaskName: KonanTarget.() -> String =
{ "xtrasAutoconf${libName.capitalized()}${platformName.capitalized()}" }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ xtras.dir.packages=/usr/local/kotlinxtras/packages
# otherwise everything is included
#Print xtras log statements to stdout as well as the gradle log
xtras.log.stdout=true
sonatypeRepoId=orgdanbrough-1488
sonatypeRepoId=orgdanbrough-1489
bootstrap=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\:https://services.gradle.org/distributions/gradle-8.1.1-all.zip
distributionUrl=https\:https://services.gradle.org/distributions/gradle-8.3-rc-3-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 2 additions & 0 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ plugins {


repositories {
maven("https://repo.maven.apache.org/maven2/")

mavenCentral()
}

Expand Down
2 changes: 1 addition & 1 deletion repos/curl
Submodule curl updated 1497 files
6 changes: 5 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ pluginManagement {
repositories {

maven(file("build/xtras/maven"))
//mavenCentral()
maven("https://repo1.maven.org/maven2")
mavenCentral()
maven("https://repo.maven.apache.org/maven2/")
maven("https://s01.oss.sonatype.org/content/groups/staging")
gradlePluginPortal()
mavenCentral()

google()
}
}
Expand Down
9 changes: 3 additions & 6 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

## unused
version.org.danbrough..klog=0.0.2-beta02
version.org.jetbrains.dokka..dokka-gradle-plugin=1.8.20
version.kotlin=1.9.0
plugin.org.jetbrains.dokka=1.8.20

version.org.jetbrains.dokka..dokka-gradle-plugin=1.8.10

version.kotlin=1.8.20

plugin.org.jetbrains.dokka=1.8.10
4 changes: 2 additions & 2 deletions xtras/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.danbrough.kotlinxtras.core.enableCurl
import org.danbrough.kotlinxtras.core.enableIconv
import org.danbrough.kotlinxtras.core.enableOpenssl
import org.danbrough.kotlinxtras.core.enableOpenssl3
import org.danbrough.kotlinxtras.core.enableSqliteOld
import org.danbrough.kotlinxtras.core.enableSqlite

plugins {
// `kotlin-dsl`
Expand All @@ -25,7 +25,7 @@ enableOpenssl3 {
enableCurl {
}

enableSqliteOld {
enableSqlite {
}
/*
gradlePlugin {
Expand Down

0 comments on commit 47fe420

Please sign in to comment.