Gradle for Delphi 2.1

By Helge Johnsen

Freeware 26 Nov 2025

In category

Developer Tools > Developer Tools > Other

Description

Add jobs that contain logical units of work. Do not put everything in one job, as the resulting jni file can grow very large, and Delphi cannot compile JNI with more than a 100000-120000 lines. In the "Job name" box enter a jobname. This will name the JNI file. In the "Dependencies" box, enter the libs you want to download (Copy eks. from maven repository Gradle link). The command has to be in one line (e.g ('com.azure:azure-identity:1.2.5') {exclude group: 'com.azure', module: 'azure-core-http-netty'}). "Implementation" and "Compile" prefix will be removed. In the "Additional (Local) Dependencies" enter any local libs that is needed for this job. You have to add any dependencies to these libs in the dependencies box. In the "Exclude when building JNI pas file" enter libs/directories/class's that are not to be processed by Java2OP. This can be content that Java2OP cannot process (Hopefully you don't need to access it in your code). In the "Exclude from final jar" enter libs/directories/class's that are not to be included in the final jar file. It can be test or compile time dependensies. Add repositories needed for your project in "Repositories". Create JNI file by clicking "Create JNI pas file". When you are ready to compile your app, compile project jar by clicking "Compile Project Jar".

Informations

  • Status: Fully functional
  • Source: FW
  • Size: 98 852kB

Platforms:

  • Delphi 10.1 Berlin
  • Delphi 10.2 Tokyo
  • Delphi 10.3 Rio
  • Delphi 10.4 Sydney
  • Delphi 11 Alexandria
  • Delphi 11.1-11.3
  • Delphi 12 Athens
  • Delphi 13 Florence

Downloads