Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganise the gradle build script #32

Closed
wants to merge 11 commits into from
Closed

Reorganise the gradle build script #32

wants to merge 11 commits into from

Commits on Apr 6, 2023

  1. Changed libzim linux url

    Currently linux libzim tar file containing 0 byte .so file, so for now we are changing the libzim linux tar file url. Once this issue is fixed we will remove this temporary url.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    a2c3153 View commit details
    Browse the repository at this point in the history
  2. Renamed generateHeaderFilesFromJavaWrapper method

    This method is for building headers files, so for the better naming of this method we have renamed this as buildHeaders.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    2bda547 View commit details
    Browse the repository at this point in the history
  3. Generating .aar and .so file via CMakeList

    To avoid recompiling the source in test cases. Now we are generating .so file while building the .aar file. For this we have created buildLinuxBinding task which dependsOn build target. As now test/CMakeList is unused so we have removed it.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    392f544 View commit details
    Browse the repository at this point in the history
  4. Removed different copying tasks

    Earlier in gradle, There are so many tasks for copying headers and .so files of libzim, libkiwix. Now, we are copying everything in copyLibzimHeaderAndSoFiles, copyLibkiwixHeaderAndSoFiles tasks.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    14109ec View commit details
    Browse the repository at this point in the history
  5. Run test cases via gradle task

    We are compiling and running test cases via gradle task and removing compile_and_run_test.sh as it is only for running test cases.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    fadf201 View commit details
    Browse the repository at this point in the history
  6. Removed dependency from date variable

    Earlier we are depending on the date variable to copy headers and .so files from folder. Now we introduce removeDateFromFolderName method for removing the date from folders name, so it would be more easy to getting files from folder.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    b3f7c98 View commit details
    Browse the repository at this point in the history
  7. Removed javac bash commands to compile test cases

    Earlier we are using the java commands to compile and run test cases, Now we are using gradle for building and running test cases.
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    3500f20 View commit details
    Browse the repository at this point in the history
  8. Fixed source file path in compileTestFile task

    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    d1c2194 View commit details
    Browse the repository at this point in the history
  9. Generating test binding and jacoco reports in build directory

    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    c694f6f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1a1bd73 View commit details
    Browse the repository at this point in the history
  11. Since linux libzim tar file issue is fixed so we have removed the tem…

    …porary url
    MohitMaliFtechiz committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    fea35c2 View commit details
    Browse the repository at this point in the history