ktor multiplatform dependencies problem for ktor_version 1.0.0-beta-3/beta-4
up vote
0
down vote
favorite
I am currently doing a multiplaform project. Web Front end is implemented in kotlin-react, backend is implemented with ktor, android is the lovely kotlin, and the desktop is implemeted using tornadoFX.
I have my multiplatform modules set up but can't seem to find a way to include the io.ktor:ktor-client:1.0.0-beta-4
gradle dependencies to work on all different platforms, I even tried adding
io.ktor:ktor-client-core:$ktor_version
to my common module's dependencies
io.ktor:ktor-client-core-jvm:$ktor_version
to my jvm module's dependencies
io.ktor:ktor-client-core-js:$ktor_version
to my js module's dependencies
io.ktor:ktor-client-android:$ktor_version
to my android module's dependencies
Nothing seems to work whats ever, IntelliJ seems to download the respective dependencies but gradle build says this
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':asoftlibs:asoft-view:asoft-view-cmn:compileKotlinCommon'.
> Could not resolve all files for configuration ':asoftlibs:asoft-view:asoft-view-cmn:compileClasspath'.
> Could not find io.ktor:ktor-client-core:1.0.0-beta-4.
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.pom
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.jar
Required by:
project :asoftlibs:asoft-view:asoft-view-cmn > project :asoftlibs:asoft-core:asoft-core-cmn
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
16 actionable tasks: 1 executed, 15 up-to-date
After going through github issues, I realized it was a migration of the libraries to the multiplatform conversions. Problem is I still don't know how to include these liblaries individually into my project
An assistance would be helpful
gradle kotlin ktor
add a comment |
up vote
0
down vote
favorite
I am currently doing a multiplaform project. Web Front end is implemented in kotlin-react, backend is implemented with ktor, android is the lovely kotlin, and the desktop is implemeted using tornadoFX.
I have my multiplatform modules set up but can't seem to find a way to include the io.ktor:ktor-client:1.0.0-beta-4
gradle dependencies to work on all different platforms, I even tried adding
io.ktor:ktor-client-core:$ktor_version
to my common module's dependencies
io.ktor:ktor-client-core-jvm:$ktor_version
to my jvm module's dependencies
io.ktor:ktor-client-core-js:$ktor_version
to my js module's dependencies
io.ktor:ktor-client-android:$ktor_version
to my android module's dependencies
Nothing seems to work whats ever, IntelliJ seems to download the respective dependencies but gradle build says this
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':asoftlibs:asoft-view:asoft-view-cmn:compileKotlinCommon'.
> Could not resolve all files for configuration ':asoftlibs:asoft-view:asoft-view-cmn:compileClasspath'.
> Could not find io.ktor:ktor-client-core:1.0.0-beta-4.
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.pom
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.jar
Required by:
project :asoftlibs:asoft-view:asoft-view-cmn > project :asoftlibs:asoft-core:asoft-core-cmn
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
16 actionable tasks: 1 executed, 15 up-to-date
After going through github issues, I realized it was a migration of the libraries to the multiplatform conversions. Problem is I still don't know how to include these liblaries individually into my project
An assistance would be helpful
gradle kotlin ktor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am currently doing a multiplaform project. Web Front end is implemented in kotlin-react, backend is implemented with ktor, android is the lovely kotlin, and the desktop is implemeted using tornadoFX.
I have my multiplatform modules set up but can't seem to find a way to include the io.ktor:ktor-client:1.0.0-beta-4
gradle dependencies to work on all different platforms, I even tried adding
io.ktor:ktor-client-core:$ktor_version
to my common module's dependencies
io.ktor:ktor-client-core-jvm:$ktor_version
to my jvm module's dependencies
io.ktor:ktor-client-core-js:$ktor_version
to my js module's dependencies
io.ktor:ktor-client-android:$ktor_version
to my android module's dependencies
Nothing seems to work whats ever, IntelliJ seems to download the respective dependencies but gradle build says this
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':asoftlibs:asoft-view:asoft-view-cmn:compileKotlinCommon'.
> Could not resolve all files for configuration ':asoftlibs:asoft-view:asoft-view-cmn:compileClasspath'.
> Could not find io.ktor:ktor-client-core:1.0.0-beta-4.
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.pom
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.jar
Required by:
project :asoftlibs:asoft-view:asoft-view-cmn > project :asoftlibs:asoft-core:asoft-core-cmn
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
16 actionable tasks: 1 executed, 15 up-to-date
After going through github issues, I realized it was a migration of the libraries to the multiplatform conversions. Problem is I still don't know how to include these liblaries individually into my project
An assistance would be helpful
gradle kotlin ktor
I am currently doing a multiplaform project. Web Front end is implemented in kotlin-react, backend is implemented with ktor, android is the lovely kotlin, and the desktop is implemeted using tornadoFX.
I have my multiplatform modules set up but can't seem to find a way to include the io.ktor:ktor-client:1.0.0-beta-4
gradle dependencies to work on all different platforms, I even tried adding
io.ktor:ktor-client-core:$ktor_version
to my common module's dependencies
io.ktor:ktor-client-core-jvm:$ktor_version
to my jvm module's dependencies
io.ktor:ktor-client-core-js:$ktor_version
to my js module's dependencies
io.ktor:ktor-client-android:$ktor_version
to my android module's dependencies
Nothing seems to work whats ever, IntelliJ seems to download the respective dependencies but gradle build says this
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':asoftlibs:asoft-view:asoft-view-cmn:compileKotlinCommon'.
> Could not resolve all files for configuration ':asoftlibs:asoft-view:asoft-view-cmn:compileClasspath'.
> Could not find io.ktor:ktor-client-core:1.0.0-beta-4.
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.pom
https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/1.0.0-beta-4/ktor-client-core-1.0.0-beta-4.jar
Required by:
project :asoftlibs:asoft-view:asoft-view-cmn > project :asoftlibs:asoft-core:asoft-core-cmn
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
16 actionable tasks: 1 executed, 15 up-to-date
After going through github issues, I realized it was a migration of the libraries to the multiplatform conversions. Problem is I still don't know how to include these liblaries individually into my project
An assistance would be helpful
gradle kotlin ktor
gradle kotlin ktor
asked Nov 15 at 1:41
andylamax
29412
29412
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Please check the repository section of your build script.
It should contain the ktor repository:
repositories {
...
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
You could read official documentation for the multiplatform client: https://ktor.io/clients/http-client/multiplatform.html
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Please check the repository section of your build script.
It should contain the ktor repository:
repositories {
...
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
You could read official documentation for the multiplatform client: https://ktor.io/clients/http-client/multiplatform.html
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
add a comment |
up vote
0
down vote
Please check the repository section of your build script.
It should contain the ktor repository:
repositories {
...
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
You could read official documentation for the multiplatform client: https://ktor.io/clients/http-client/multiplatform.html
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
add a comment |
up vote
0
down vote
up vote
0
down vote
Please check the repository section of your build script.
It should contain the ktor repository:
repositories {
...
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
You could read official documentation for the multiplatform client: https://ktor.io/clients/http-client/multiplatform.html
Please check the repository section of your build script.
It should contain the ktor repository:
repositories {
...
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
You could read official documentation for the multiplatform client: https://ktor.io/clients/http-client/multiplatform.html
answered Nov 15 at 5:45
Leonid
1065
1065
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
add a comment |
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
I already had that in build.gradle it ddnt work. It has something to do with versions I think
– andylamax
Nov 15 at 20:37
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
Could you provide detailed project setup?
– Leonid
Nov 20 at 8:46
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53311268%2fktor-multiplatform-dependencies-problem-for-ktor-version-1-0-0-beta-3-beta-4%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown