Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.ex3ndr:telegram-mt:-SNAPSHOT'
}
dependencies {
implementation("com.github.ex3ndr:telegram-mt:-SNAPSHOT")
}
<dependency>
<groupId>com.github.ex3ndr</groupId>
<artifactId>telegram-mt</artifactId>
<version>-SNAPSHOT</version>
</dependency>
libraryDependencies += "com.github.ex3ndr" % "telegram-mt" % "-SNAPSHOT"
:dependencies [[com.github.ex3ndr/telegram-mt "-SNAPSHOT"]]
Mobile Transport protocol used in Telegram project and designed for speed and security over weird mobile networks.
This is library of MTProto implementation for java. Now it used in our production-ready product Telegram S.
This project depends only on tl-core library
You may download distribution at releases page and include it to your project.
mtproto
foldertl-core
foldergradle build
from mtproto
folderEnglish: http://core.telegram.org/mtproto
Russian: http://dev.stel.com/mtproto
English: http://core.telegram.org/mtproto/TL
Russian: http://dev.stel.com/mtproto/TL
####Telegram project
http://telegram.org/
Compiler uses MIT Licence