telegram-bot
telegram-bot copied to clipboard
Cant build bot through Gradle.
telegram-bot-master$ ./gradlew copyToLib
FAILURE: Build failed with an exception.
-
What went wrong: Could not determine the dependencies of task ':app:copyToLib'.
Configuration with name 'default' not found.
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.297 secs
I've managed to compile telegram-bot : I've first cloned mtproto, telegram-api and tl-core in subdirectory libraries and compile them (with gradle build command). Then I could compile telegram-bot.
Either using gradlew or gradle I get the same error
~/workspace2/telegram-bot$ gradle build.gradle
FAILURE: Build failed with an exception.
- What went wrong: Task 'build.gradle' not found in root project 'telegram-bot'.
Is there any workaround for this?
Thanks
Forget my last comment as I was running 'gradle build.gradle' instead of 'gradle build'
But now I'm getting error
Could not determine the dependencies of task ':app:test'.
Configuration with name 'default' not found.
Any fix for this?