Update tdlib and tdlight
This commit is contained in:
parent
9c04e7b2e4
commit
cafe57a2b8
146
tdlib/pom.xml
146
tdlib/pom.xml
@ -8,8 +8,8 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<revision>0-SNAPSHOT</revision>
|
<revision>0-SNAPSHOT</revision>
|
||||||
<natives-version>3.3.49</natives-version>
|
<natives-version>3.3.51</natives-version>
|
||||||
<api-version>3.3.47</api-version>
|
<api-version>3.3.49</api-version>
|
||||||
</properties>
|
</properties>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
@ -52,12 +52,12 @@
|
|||||||
<version>${natives-version}</version>
|
<version>${natives-version}</version>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>it.tdlight</groupId>
|
<groupId>it.tdlight</groupId>
|
||||||
<artifactId>tdlib-natives-linux-x86</artifactId>
|
<artifactId>tdlib-natives-linux-x86</artifactId>
|
||||||
<version>${natives-version}</version>
|
<version>${natives-version}</version>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>it.tdlight</groupId>
|
<groupId>it.tdlight</groupId>
|
||||||
<artifactId>tdlib-natives-linux-aarch64</artifactId>
|
<artifactId>tdlib-natives-linux-aarch64</artifactId>
|
||||||
@ -103,11 +103,11 @@
|
|||||||
<artifactId>slf4j-api</artifactId>
|
<artifactId>slf4j-api</artifactId>
|
||||||
<version>1.7.30</version>
|
<version>1.7.30</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.reactivestreams</groupId>
|
<groupId>org.reactivestreams</groupId>
|
||||||
<artifactId>reactive-streams</artifactId>
|
<artifactId>reactive-streams</artifactId>
|
||||||
<version>1.0.3</version>
|
<version>1.0.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
@ -162,29 +162,29 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- ensure the project is compiling with JDK 9+ -->
|
<!-- ensure the project is compiling with JDK 9+ -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>3.0.0-M3</version>
|
<version>3.0.0-M3</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>enforce-jdk9</id>
|
<id>enforce-jdk9</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>enforce</goal>
|
<goal>enforce</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<rules>
|
<rules>
|
||||||
<requireJavaVersion>
|
<requireJavaVersion>
|
||||||
<version>[1.9,)</version>
|
<version>[1.9,)</version>
|
||||||
<message>JDK 9+ is required for compilation</message>
|
<message>JDK 9+ is required for compilation</message>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
</rules>
|
</rules>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- compile sources -->
|
<!-- compile sources -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
@ -193,45 +193,45 @@
|
|||||||
<release>8</release>
|
<release>8</release>
|
||||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>it/tdlight/tdlight/ClientManager.java</exclude>
|
<exclude>it/tdlight/tdlight/ClientManager.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- disable default phase due to fixed id and position in lifecycle -->
|
<!-- disable default phase due to fixed id and position in lifecycle -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-compile</id>
|
<id>default-compile</id>
|
||||||
<phase>none</phase>
|
<phase>none</phase>
|
||||||
<!-- specify source/target for IDE integration -->
|
<!-- specify source/target for IDE integration -->
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>9</release>
|
<release>9</release>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- compile sources with Java 9 to generate and validate module-info.java -->
|
<!-- compile sources with Java 9 to generate and validate module-info.java -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>java-9-module-compile</id>
|
<id>java-9-module-compile</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>compile</goal>
|
<goal>compile</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>9</release>
|
<release>9</release>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- recompile sources as Java 8 to overwrite Java 9 class files, except module-info.java -->
|
<!-- recompile sources as Java 8 to overwrite Java 9 class files, except module-info.java -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>java-8-compile</id>
|
<id>java-8-compile</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>compile</goal>
|
<goal>compile</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- specify JDK 9+ release flag to ensure no classes/methods later than Java 8 are used accidentally -->
|
<!-- specify JDK 9+ release flag to ensure no classes/methods later than Java 8 are used accidentally -->
|
||||||
<release>8</release>
|
<release>8</release>
|
||||||
<!-- exclude module-info.java from the compilation, as it is unsupported by Java 8 -->
|
<!-- exclude module-info.java from the compilation, as it is unsupported by Java 8 -->
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>module-info.java</exclude>
|
<exclude>module-info.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
144
tdlight/pom.xml
144
tdlight/pom.xml
@ -8,8 +8,8 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<revision>0-SNAPSHOT</revision>
|
<revision>0-SNAPSHOT</revision>
|
||||||
<natives-version>3.3.49</natives-version>
|
<natives-version>3.3.51</natives-version>
|
||||||
<api-version>3.3.47</api-version>
|
<api-version>3.3.49</api-version>
|
||||||
</properties>
|
</properties>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
@ -52,12 +52,12 @@
|
|||||||
<version>${natives-version}</version>
|
<version>${natives-version}</version>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>it.tdlight</groupId>
|
<groupId>it.tdlight</groupId>
|
||||||
<artifactId>tdlight-natives-linux-x86</artifactId>
|
<artifactId>tdlight-natives-linux-x86</artifactId>
|
||||||
<version>${natives-version}</version>
|
<version>${natives-version}</version>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>it.tdlight</groupId>
|
<groupId>it.tdlight</groupId>
|
||||||
<artifactId>tdlight-natives-linux-aarch64</artifactId>
|
<artifactId>tdlight-natives-linux-aarch64</artifactId>
|
||||||
@ -103,11 +103,11 @@
|
|||||||
<artifactId>slf4j-api</artifactId>
|
<artifactId>slf4j-api</artifactId>
|
||||||
<version>1.7.30</version>
|
<version>1.7.30</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.reactivestreams</groupId>
|
<groupId>org.reactivestreams</groupId>
|
||||||
<artifactId>reactive-streams</artifactId>
|
<artifactId>reactive-streams</artifactId>
|
||||||
<version>1.0.3</version>
|
<version>1.0.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
@ -162,29 +162,29 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- ensure the project is compiling with JDK 9+ -->
|
<!-- ensure the project is compiling with JDK 9+ -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>3.0.0-M3</version>
|
<version>3.0.0-M3</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>enforce-jdk9</id>
|
<id>enforce-jdk9</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>enforce</goal>
|
<goal>enforce</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<rules>
|
<rules>
|
||||||
<requireJavaVersion>
|
<requireJavaVersion>
|
||||||
<version>[1.9,)</version>
|
<version>[1.9,)</version>
|
||||||
<message>JDK 9+ is required for compilation</message>
|
<message>JDK 9+ is required for compilation</message>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
</rules>
|
</rules>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- compile sources -->
|
<!-- compile sources -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
@ -196,42 +196,42 @@
|
|||||||
<exclude>it/tdlight/tdlib/ClientManager.java</exclude>
|
<exclude>it/tdlight/tdlib/ClientManager.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- disable default phase due to fixed id and position in lifecycle -->
|
<!-- disable default phase due to fixed id and position in lifecycle -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-compile</id>
|
<id>default-compile</id>
|
||||||
<phase>none</phase>
|
<phase>none</phase>
|
||||||
<!-- specify source/target for IDE integration -->
|
<!-- specify source/target for IDE integration -->
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>9</release>
|
<release>9</release>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- compile sources with Java 9 to generate and validate module-info.java -->
|
<!-- compile sources with Java 9 to generate and validate module-info.java -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>java-9-module-compile</id>
|
<id>java-9-module-compile</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>compile</goal>
|
<goal>compile</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>9</release>
|
<release>9</release>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- recompile sources as Java 8 to overwrite Java 9 class files, except module-info.java -->
|
<!-- recompile sources as Java 8 to overwrite Java 9 class files, except module-info.java -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>java-8-compile</id>
|
<id>java-8-compile</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>compile</goal>
|
<goal>compile</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- specify JDK 9+ release flag to ensure no classes/methods later than Java 8 are used accidentally -->
|
<!-- specify JDK 9+ release flag to ensure no classes/methods later than Java 8 are used accidentally -->
|
||||||
<release>8</release>
|
<release>8</release>
|
||||||
<!-- exclude module-info.java from the compilation, as it is unsupported by Java 8 -->
|
<!-- exclude module-info.java from the compilation, as it is unsupported by Java 8 -->
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>module-info.java</exclude>
|
<exclude>module-info.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
Loading…
Reference in New Issue
Block a user