https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
gradle
  • r

    rkeazor

    09/25/2020, 7:09 AM
    Anyone using dexguard with android gradle 4.0.0
    n
    • 2
    • 1
  • e

    Exerosis

    09/26/2020, 3:11 PM
    How does kotlin gradle dsl generate... I guess the ability to use extensions like tasks.jar?
    g
    • 2
    • 5
  • i

    iHDeveloper

    09/27/2020, 9:48 AM
    I have 2 Gradle subprojects one is
    core
    and the other is called
    other
    . The
    other
    project has
    compileOnly(project(":core"))
    in the dependencies. I can code normally and I’m able to reference stuff in
    core
    project using the IDE (IntelliJ). But, during
    compileKotlin
    task for the project
    other
    . The compiler throws
    Unresolved reference: stuff
    . ☹️ It throws it for the import package from
    core
    project. And, the stuff I referenced in that package. It seems like the compiler didn’t include
    core
    project in
    other
    during the compilation. I tried to find an answer on the internet. But, couldn’t find what I’m looking for. I tried to clear the Gradle cache. Also, removed the
    build
    folder. But, both of them didn’t work What’s the issue? And, how can I solve it? 🤔
    • 1
    • 1
  • s

    Slackbot

    09/28/2020, 7:07 AM
    This message was deleted.
    n
    • 2
    • 1
  • d

    doodla

    09/28/2020, 7:53 PM
    Upgrading gradle is a binary thing right? It works or it doesn’t? Can upgrading gradle cause any issues in prod?
    g
    • 2
    • 1
  • e

    Exerosis

    09/28/2020, 11:24 PM
    Is there a way to have the lifecycle tasks defined without having a platform plugin applied like kotlin jvm? Am I incorrect I'm my assumption that projects that don't have sources probably should not have source related plugins? For example if my root project has no sources it would define the plugins with apply(false). The problem I'm having is that one of my subprojects uses the docker plugin to build some docker images... meanwhile another subproject uses the kotlin jvm plugin to compile and jar some sources and dependencies and ALSO does a docker build. I would like to "build" the project and by the end have 2 docker images. I can't work out what the cleanest way to do this would be, it feels like the dynamic nature of gradle is kind of tripping up and clashing with the type safety and modularity of kotlin.
    a
    n
    • 3
    • 4
  • r

    Rodrigo Silva

    09/29/2020, 4:48 PM
    Hello everyone. I have a gradle multi project and I'm trying to use teamcity for CD / CI. But I'm not getting it, the following error happens:
    k
    n
    • 3
    • 6
  • s

    steamstreet

    10/01/2020, 3:44 AM
    I’ve got a kotlin library that I want to publish. I have set
    kotlinOptions.jvmTarget=1.8
    to ensure Java 8 compatibility. When I run the build under Java 8, the module builds with a variant that includes
    "org.gradle.jvm.version": 8
    . However, if I run the same build under Java 11, the variant changes to 11. If I am building a library using Java 11 that I want to support Java 8, how do I do this? My understanding was that setting
    kotlinOptions.jvmTarget=1.8
    should have ensured that the variant was set to 8.
    n
    • 2
    • 1
  • d

    David Miguel

    10/03/2020, 1:44 PM
    I would like to create an extension function like this in my
    buildSrc
    module. However I cannot access
    implementation()
    ,
    kapt()
    , etc extensions functions that are declared in the package
    org.gradle.kotlin.dsl
    from the
    gradle-kotlin-dsl-accessors
    artifact. Is it possible to have access to them from my
    buildSrc
    module? Thanks for you help.
    j
    n
    • 3
    • 30
  • p

    Philipp Mayer

    10/05/2020, 3:44 PM
    Hello everyone! Is there a way to set the srcDir for all sub directories of a directory in a generic way? To give an example, I have the following code:
    srcDir("src/routes/a")
    srcDir("src/routes/a/asdf")
    srcDir("src/routes/b")
    srcDir("src/routes/c/xyz/zyx")
    Right now, if I add a new directory under route, I have to add it also to my
    build.gradle.kts
    in the given snippet. Is there a way to accomplish that automatically, by adding all sub directories of
    src/routes
    ? Thanks in advance!
    j
    i
    • 3
    • 5
  • d

    Davide Giuseppe Farella

    10/08/2020, 4:00 PM
    Hello, I got a particular situation, just as I like 🙂 We got a projects structure like
    root
      ( modules )
      + gradle
        ( plugins )
        + publish
          - libraries ( plugin )
          - plugins ( plugin )
    The goal is to have
    // root
    plugins {
      id("publish-libraries")
    }
    
    // gradle
    plugins {
      id("publish-plugins")
    }
    The problem is that if I apply
    publish-plugins
    to
    gradle
    project or one of its module , root does not find the plugins in
    gradle
    😕
    org.gradle.internal.exceptions.LocationAwareException: Build file '/Users/davide/Dev/Android/Workspace/xxx/build.gradle.kts' line: 28
    Plugin [id: 'my-plugin'] was not found in any of the following sources:
    ( The 
    gradle
     project builds correctly though )
    g
    • 2
    • 7
  • e

    ephemient

    10/08/2020, 10:11 PM
    https://youtrack.jetbrains.com/issue/KT-35238 is anybody else hitting this? it's a huge pain in the $#@! for my team, but it doesn't look like there's any activity on the ticket.
    👍 1
    g
    s
    • 3
    • 5
  • r

    rnentjes

    10/09/2020, 11:46 AM
    After creating a new kotlin mpp project, my build.gradle.kts can't be parsed by the kotlin plugin (see screenshot). Anyone know what the problem can be? This is in intellij ultimate 2020.2, project created with new project wizard. Is there some cache folder that I need to clear (already removed ~/.cache and ~/.gradle and invalidated caches in intellij)
    j
    t
    • 3
    • 6
  • s

    sultanofcardio

    10/12/2020, 5:34 PM
    I'm trying to use imports in my gradle build script with Kotlin DSL. When i use imports like this
    import java.nio.file.Files
    import java.nio.file.StandardCopyOption
    import java.util.concurrent.TimeUnit
    
    plugins {
        id("idea")
        kotlin("jvm") version "1.4.10"
    IDEA is unable to parse the file and highlights everything in red. Running a gradle task from the terminal works fine though. When I remove the import statements and put the
    plugins
    block at the top, the script is parsed correctly but the unimported classes cannot be resolved. Am I doing this incorrectly or is this an IDEA bug?
    m
    • 2
    • 2
  • u

    ursus

    10/13/2020, 3:42 AM
    but im confused as how does it know which repo given plugin is from
    g
    • 2
    • 3
  • u

    ursus

    10/13/2020, 3:44 AM
    and also, how do you "externalize" the declaration, since it contains the version as a function also
    g
    • 2
    • 4
  • u

    ursus

    10/13/2020, 3:50 AM
    also, do I still use
    apply
    to include my other .gradle files?
    g
    • 2
    • 1
  • u

    ursus

    10/13/2020, 4:34 AM
    one last thing, constants, currenrly in ext block, kotlin dsl samples use buildSrc -- ill need to move to kotlin dsl incrementally -- can groovy code see buildSrc objects? or will kotlin dsl files I migrate work with ext constants? (dependency artigact names)
    g
    e
    • 3
    • 7
  • r

    Rohit

    10/14/2020, 8:09 AM
    Hi, While updating to Android Studio 4.1 The project build breaks Gradle process Anyone can help resolve this
    k
    g
    k
    • 4
    • 35
  • j

    Jérôme Gully

    10/14/2020, 9:03 AM
    Hi, I wonder if it's possible to use
    includeBuild
    to consume a library module that is not in the same path as the app project:
    /projects/myApp/
    App project
    /projects/myApp/myModuleApp/
    App module
    /projects/myLib
    LibProject
    /projects/myLib/myModuleLib
    LibModule
    I want to inculde
    myModuleLib
    in
    myModuleApp
    as a dependency. I tried to create a new project app and a new project for the library (create new module android lib), and in settings.gradle from the app project I have added
    includeBuild("../LibProject/mylibrary")
    but it's not working. Maybe I have missed something, the error is:
    Plugin [id: 'com.android.library'] was not found in any of the following sources:
    a
    • 2
    • 4
  • b

    Big Chungus

    10/14/2020, 3:39 PM
    Just released v0.1.1 of npm-publish plugin. Have a look! 🎉
    m
    • 2
    • 25
  • b

    bjonnh

    10/15/2020, 10:53 PM
    why isn't that a default in gradle? I had to add an idea-ext plugin and figure out how to make its DSL work in build.gradle.kts
    g
    • 2
    • 2
  • c

    ConorG

    10/16/2020, 5:53 AM
    Hi! Is anyone aware of differences in how AGP 4.1 processes vectors or declares
    vectorDrawables.useSupportLibrary
    . My builds fail in with 4.1 due to issues with
    Caused by: org.gradle.api.GradleException: Can't process attribute android:strokeColor="@color/white": references to other resources are not supported by build-time PNG generation. File was preprocessed as vector drawable support was added in Android 5.0 (API level 21) See <http://developer.android.com/tools/help/vector-asset-studio.html> for details.
    After some googling, it seems this is the stacktrace that showed when ``vectorDrawables.useSupportLibrary`` wasn’t declared (but it definitely is). Rolling back to 4.0.1 builds fine.
    • 1
    • 1
  • c

    ciscorucinski

    10/16/2020, 12:51 PM
    This deals with delegates and how they are used to grab Property File values in Gradle projects. I have seen it described very similarly before in an article that we can use a simple convention such as
    val pluginGroup: String by project
    This will search for .property files for the key
    pluginGroup
    and return it's value as a
    String
    . I am impressed by that, but how the heck does this magic work? This will only return
    String
    values, so even if we have the following in the .properties file...
    platformDownloadSources = true
    It will still only return
    "true"
    as a
    String
    . I am curious of how this mechanism works and why it is limited to only
    String
    and why it is limited to the specific name I have for the variable. Meaning I must name my variable the same as is in the .properties file.
    This is something that I know works, but I just can't comprehend it. For background: To see this in usage, head over to GitHub: JetBrains/intellij-platform-plugin-template Here is gradle.properties and here is build.gradle.kts
    e
    • 2
    • 22
  • t

    Tower Guidev2

    10/16/2020, 3:03 PM
    My current Android Application depends on a sub git repo the folder structure is /Users/myname/github/main-app /Users/myname/github/sub-module My project gradle build file has... task cloneAndPullSdk { File dir = new File('../sub-module') def grgit if (!dir.exists()) { grgit = Grgit.clone(dir: dir, uri: 'https://github.com/Organisation/sub-module.git') } else { grgit = Grgit.open(dir: '../sub-module') } grgit.checkout(branch: sdkBranch, createBranch: false) } My
    gradle
    build (used to work fine) employs classpath 'org.ajoberstar:grgit:1.9.3' To open the associated git repo When I refresh gradle and/or clean or build I get this error * What went wrong: A problem occurred evaluating root project 'main-app'. > repository not found: /Users/rossUlbricht/.gradle/daemon/sub-module/.git Why is
    GrGit
    looking in the /.gradle/daemon/ folder for my repo? How do I configure gradle to enable it to correctly locate my sub module folder location? I have just upgraded Android Studio to Android Studio 4.1 Build #AI-201.8743.12.41.6858069, built on September 23, 2020 Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.6 and using dependencies { classpath 'com.android.tools.build:gradle:3.4.0' classpath 'org.ajoberstar:grgit:1.9.3' // in the individual module build.gradle files } with #Tue Jun 05 12:01:24 BST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\:<//services.gradle.org/distributions/gradle-5.1.1-all.zip>
    • 1
    • 1
  • b

    Big Chungus

    10/16/2020, 3:27 PM
    Anyone knows what exactly
    kotlin.style=official
    gradle prop does?
    e
    • 2
    • 1
  • c

    Christopher Elías

    10/19/2020, 1:16 PM
    Hello, since I upgraded the A.S. IDE to 4.1, I can't use the kotlin "navigation" feature from my buildSrc/Dependencies (multi module application). Has someone experienced something like this? It was working fine till the upgrade of A.S.
    j
    • 2
    • 6
  • u

    ursus

    10/20/2020, 1:18 AM
    Anybody has a clue why after upgrading to AGP 4.1.0, it cannot see constants from ext?
    Parameter specified as non-null is null: method com.android.build.gradle.BaseExtension.compileSdkVersion, parameter version
    android {
        compileSdkVersion compileSdk
        defaultConfig {
            minSdkVersion minSdk.o2
            targetSdkVersion targetSdk
        ...
    ext {
        compileSdk = 29
        ...
    It's worked before the update
    k
    • 2
    • 11
  • p

    Paul Woitaschek

    10/20/2020, 8:26 AM
    I want to configure the maven publish plugin using shared logic in my buildSrc. But that would mean that I need to have the maven publish plugin in the class path of my buildSrc. How can I do that?
    j
    e
    • 3
    • 5
  • b

    bitkid

    10/20/2020, 9:55 AM
    i tried out the new gradle 6.7 .. i run ./gradlew init and create a kotlin multi module project. beside that the compile fails of the inital creation i have another question. init creates a buildSrc with kotlin.kotlin-common-conventions.gradle.kts, library-convention and application-convention. the plugin dependencies in these files don't contain a version so the plugin block for now looks like this this. plugins { kotlin("jvm") jacoco
    maven-publish
    } everything works so far .. the only thing is it uses an old kotlin version. how can i force it to 1.4.10 for everything (buildsrc and sub modules). as soon as i put a version somewhere (in my root build.gradle.kts as an example) i get the error message "Plugin request for plugin already on the classpath must not include a version". any ideas?
    j
    • 2
    • 23
Powered by Linen
Title
b

bitkid

10/20/2020, 9:55 AM
i tried out the new gradle 6.7 .. i run ./gradlew init and create a kotlin multi module project. beside that the compile fails of the inital creation i have another question. init creates a buildSrc with kotlin.kotlin-common-conventions.gradle.kts, library-convention and application-convention. the plugin dependencies in these files don't contain a version so the plugin block for now looks like this this. plugins { kotlin("jvm") jacoco
maven-publish
} everything works so far .. the only thing is it uses an old kotlin version. how can i force it to 1.4.10 for everything (buildsrc and sub modules). as soon as i put a version somewhere (in my root build.gradle.kts as an example) i get the error message "Plugin request for plugin already on the classpath must not include a version". any ideas?
if i try to set the plugin version in my build.gradle.kts in /buildSrc i get the message "The
embedded-kotlin
and
kotlin-dsl
plugins rely on features of Kotlin
1.3.72
that might work differently than in the requested version
1.4.10
."
j

Javier

10/20/2020, 10:13 AM
Is the repo public?
That warning is normal btw
b

bitkid

10/20/2020, 10:16 AM
no .. can't make it public .. but it's basically the default which the ./gradle init spits out
it uses by default kotlin 1.3.72 .. but i wan't it to use 1.4.10
for everything
j

Javier

10/20/2020, 10:21 AM
but 1.3.72 is used inside buildSrc and build.gradle.kts files, for "normal" projects it is being used the version you defined
can you share the snippet which is using the kotlin version?
b

bitkid

10/20/2020, 10:27 AM
let me see if i can come up with something
ah .. the initial build only fails if you call your project "kotlin" 🙂
ok i have an easy reproducer (you need gradle 6.7 for that) .. just run ./gradle init in an empty directory with these options:
$ ./gradlew init

Select type of project to generate:
  1: basic
  2: application
  3: library
  4: Gradle plugin
Enter selection (default: basic) [1..4] 2

Select implementation language:
  1: C++
  2: Groovy
  3: Java
  4: Kotlin
  5: Scala
  6: Swift
Enter selection (default: Java) [1..6] 4

Split functionality across multiple subprojects?:
  1: no - only one application project
  2: yes - application and library projects
Enter selection (default: no - only one application project) [1..2] 2

Select build script DSL:
  1: Groovy
  2: Kotlin
Enter selection (default: Kotlin) [1..2] 2

Project name (default: tmpGradle): test
Source package (default: test):
there will be file list\src\main\kotlin\test\list\LinkedList.kt and in there put something which is a language feature of 1.4.10
i use
fun interface IntPredicate { fun accept(i: Int): Boolean }
with 1.3.72 you'll get an error like this: Expecting function name or receiver type
so where do i tell the whole thing to use 1.4.10 🙂
j

Javier

10/20/2020, 11:12 AM
b

bitkid

10/20/2020, 12:06 PM
ok that works but i get tons of warnings .. can i safely ignore them? or where do they come from?
$ ./gradlew build

> Task :buildSrc:compileKotlin
The `kotlin-dsl` plugin applied to project ':buildSrc' enables experimental Kotlin compiler features. For more information see <https://docs.gradle.org/6.7/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin>
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
    C:/Users/sadatgus/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7/lib/kotlin-stdlib-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7/lib/kotlin-stdlib-common-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7/lib/kotlin-stdlib-jdk7-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7/lib/kotlin-stdlib-jdk8-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7/lib/kotlin-reflect-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.3.72/916d54b9eb6442b615e6f1488978f551c0674720/kotlin-stdlib-jdk8-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.4.10/e2b3c6695eee6085e606d96d685396dce23a3a06/kotlin-reflect-1.4.10.jar (version 1.4)
    C:/Users/sadatgus/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.72/3adfc2f4ea4243e01204be8081fe63bde6b12815/kotlin-stdlib-jdk7-1.3.72.jar (version 1.3)
    C:/Users/sadatgus/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.4.10/ea29e063d2bbe695be13e9d044dcfb0c7add398e/kotlin-stdlib-1.4.10.jar (version 1.4)
    C:/Users/sadatgus/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.4.10/6229be3465805c99db1142ad75e6c6ddeac0b04c/kotlin-stdlib-common-1.4.10.jar (version 1.4)
w: Consider providing an explicit dependency on kotlin-reflect 1.4 to prevent strange errors
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
j

Javier

10/20/2020, 12:15 PM
I am ignoring them because we can't upgrade kotlin dsl version
I think 6.8 will have Kotlin 1.4 (or 1.4.10), but it will not be 1.4.20 probably and 1.4.20 will be available (more or less), so I don't know if there is an strategy to solve this problem
b

bitkid

10/20/2020, 8:10 PM
ok cool .. got everything working. thx! 🙂
View count: 6