Open prasenjeet86 opened 10 years ago
I am getting this issue while trying to run as per the steps given in url as Building from source code "https://github.com/ex3ndr/telegram-api" . I tried in many way but finally same issue is coming. Please help me to resolve this. I want to create a telegram Java client for desktop to integrate with my application.
Thanks in advance.
The project also depends on the actors folder. Copy telegram-actors to actors folder and then run the build file.
Hi Nitish,
I tried using actor folder also, facing same error. In case it works for yoy, can you please help me with the client or steps?
My mail id : prasenjeet86@gmail.com
Many thanks in advance.
Regards, Peasenjeet
The gradle build files are out of date. Here's what worked for me.
project.group = "org.telegram"
apply plugin: 'java'
apply plugin: 'shadow'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile project(':tl-core')
compile project(':mtproto')
compile project(':actors')
compile files('libs/tl-api-v12.jar')
}
rootProject.name = "telegram-api"
include ':tl-core', ':mtproto', ':actors'
project(':tl-core').projectDir = new File( '../telegram-tl-core' )
project(':mtproto').projectDir = new File( '../telegram-mt' )
project(':actors').projectDir = new File( '../telegram-actors' )
So now the next question is - why does the resulting snapshot shadow jar throw errors if I use it instead of the download 1.1.127 shadow jar? This project needs some TLC.
Also where is the source for the lib/tl-api-v12.jar ?
+1 for question about sources for the lib/tl-api-v12.jar