Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38d4f789 authored by Andy Scherzinger's avatar Andy Scherzinger Committed by GitHub
Browse files

Merge pull request #84 from Bubu/remove_maven_and_ant

remove legacy buildsystems (maven, ant)
parents db406f86 0991f4b7
Loading
Loading
Loading
Loading
+9 −21
Original line number Diff line number Diff line
@@ -27,29 +27,17 @@ that govern this software, for the purposes they are being used.

The third party software included and used by this project is:

 * Apache JackRabbit, version 2.10.1
   Copyright (C) 2004-2010 The Apache Software Foundation.
 * Apache JackRabbit, version 2.12.6
   Copyright (C) 2004-2016 The Apache Software Foundation.
   Licensed under Apache License, Version 2.0.
   Placed at libs/jackrabbit-webdav-2.10.1.jar
   The jar file must be included in projects using the Nextcloud Android
   Library, and those must respect the terms of its license.
   Original license document included at libs/APACHE-2.0.txt
   See http://jackrabbit.apache.org/

 * Jakarta Commons Httpclient, version 3.1
   Copyright (C) 2001-2011 The Apache Software Foundation.
 * gson, version 2.8.0
   Copyright (C) 2008 Google Inc.
   Licensed under Apache License, Version 2.0.
   Placed at libs/commons-httpclient-3.1.jar
   The jar file must be included in projects using the Nextcloud Android
   Library, and those must respect the terms of its license.
   Original license document included at libs/APACHE-2.0.txt
   See http://hc.apache.org/httpclient-3.x/
 
 * Simple Logging Facade for Java, version 1.7.5
   Copyright (C) 2004-2013 QOS.ch
   Licensed under the MIT License
   Placed at libs/sl4f-api.1.7.5.jar
   The jar file must be included in projects using the Nextcloud Android
   Library, and those must respect the terms of its license.
   Original license document included at libs/sl4j-api-LICENSE.txt
   See http://www.slf4j.org/
   See https://github.com/google/gson
 
 * Parceler, version 1.1.6
   Copyright (C) 2011-2017 John Ericksen
   Licensed under Apache License, Version 2.0.
   See http://parceler.org/

build.xml

deleted100644 → 0
+0 −92
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project name="owncloud-android-library" default="help">

    <!-- The local.properties file is created and updated by the 'android' tool.
         It contains the path to the SDK. It should *NOT* be checked into
         Version Control Systems. -->
    <property file="local.properties" />

    <!-- The ant.properties file can be created by you. It is only edited by the
         'android' tool to add properties to it.
         This is the place to change some Ant specific build properties.
         Here are some properties you may want to change/update:

         source.dir
             The name of the source directory. Default is 'src'.
         out.dir
             The name of the output directory. Default is 'bin'.

         For other overridable properties, look at the beginning of the rules
         files in the SDK, at tools/ant/build.xml

         Properties related to the SDK location or the project target should
         be updated using the 'android' tool with the 'update' action.

         This file is an integral part of the build system for your
         application and should be checked into Version Control Systems.

         -->
    <property file="ant.properties" />

    <!-- if sdk.dir was not set from one of the property file, then
         get it from the ANDROID_HOME env var.
         This must be done before we load project.properties since
         the proguard config can use sdk.dir -->
    <property environment="env" />
    <condition property="sdk.dir" value="${env.ANDROID_HOME}">
        <isset property="env.ANDROID_HOME" />
    </condition>

    <!-- The project.properties file is created and updated by the 'android'
         tool, as well as ADT.

         This contains project specific properties such as project target, and library
         dependencies. Lower level build properties are stored in ant.properties
         (or in .classpath for Eclipse projects).

         This file is an integral part of the build system for your
         application and should be checked into Version Control Systems. -->
    <loadproperties srcFile="project.properties" />

    <!-- quick check on sdk.dir -->
    <fail
            message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
            unless="sdk.dir"
    />

    <!--
        Import per project custom build rules if present at the root of the project.
        This is the place to put custom intermediary targets such as:
            -pre-build
            -pre-compile
            -post-compile (This is typically used for code obfuscation.
                           Compiled code location: ${out.classes.absolute.dir}
                           If this is not done in place, override ${out.dex.input.absolute.dir})
            -post-package
            -post-build
            -pre-clean
    -->
    <import file="custom_rules.xml" optional="true" />

    <!-- Import the actual build file.

         To customize existing targets, there are two options:
         - Customize only one target:
             - copy/paste the target into this file, *before* the
               <import> task.
             - customize it to your needs.
         - Customize the whole content of build.xml
             - copy/paste the content of the rules files (minus the top node)
               into this file, replacing the <import> task.
             - customize to your needs.

         ***********************
         ****** IMPORTANT ******
         ***********************
         In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
         in order to avoid having your file be overridden by tools such as "android update project"
    -->
    <!-- version-tag: 1 -->
    <import file="${sdk.dir}/tools/ant/build.xml" />

</project>

custom_rules.xml

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project name="custom_rules">
    <target name="-post-compile">
        <echo>Copying jar file for binary distribution</echo>
        <copy file="${out.absolute.dir}/classes.jar" toFile="${out.absolute.dir}/${ant.project.name}.jar" />
    </target>
</project>
 No newline at end of file

libs/commons-httpclient-3.1.jar

deleted100644 → 0
−298 KiB

File deleted.

libs/jackrabbit-webdav-2.12.4.jar

deleted100644 → 0
−323 KiB

File deleted.

Loading