telegram-bot icon indicating copy to clipboard operation
telegram-bot copied to clipboard

Cant build bot through Gradle.

Open wattadu opened this issue 11 years ago • 3 comments

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

wattadu avatar Feb 25 '14 07:02 wattadu

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.

Thus0 avatar Mar 07 '14 06:03 Thus0

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

sebasao avatar Jun 12 '14 10:06 sebasao

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?

sebasao avatar Jun 12 '14 13:06 sebasao