123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project name="module_bsexcel" default="compile.module.bsexcel">
- <dirname property="module.bsexcel.basedir" file="${ant.file.module_bsexcel}"/>
-
- <property name="module.jdk.home.bsexcel" value="${jdk.home.android_api_28_platform}"/>
- <property name="module.jdk.bin.bsexcel" value="${jdk.bin.android_api_28_platform}"/>
- <property name="module.jdk.classpath.bsexcel" value="jdk.classpath.android_api_28_platform"/>
-
- <property name="compiler.args.bsexcel" value="-encoding UTF-8 -source 7 -target 1.8 ${compiler.args}"/>
-
- <property name="bsexcel.output.dir" value="${module.bsexcel.basedir}/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes"/>
- <property name="bsexcel.testoutput.dir" value="${module.bsexcel.basedir}/build/intermediates/javac/debugUnitTest/compileDebugUnitTestJavaWithJavac/classes"/>
-
- <path id="bsexcel.module.bootclasspath">
- <!-- Paths to be included in compilation bootclasspath -->
- </path>
-
- <path id="bsexcel.module.production.classpath">
- <path refid="${module.jdk.classpath.bsexcel}"/>
- <path refid="library.gradle:_com.android.support:support-fragment:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:localbroadcastmanager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:documentfile:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:animated-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:slidingpanelayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:viewmodel:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:appcompat-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:loader:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.core:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata-core:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:collections:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:cursoradapter:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-compat:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-ui:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:asynclayoutinflater:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:print:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.core:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:versionedparcelable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:viewpager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-utils:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:recyclerview-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-annotations:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:interpolator:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:drawerlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:coordinatorlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:customview:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:swiperefreshlayout:28.0.0@aar.classpath"/>
- </path>
-
- <path id="bsexcel.runtime.production.module.classpath">
- <pathelement location="${bsexcel.output.dir}"/>
- <path refid="library.gradle:_com.android.support:support-fragment:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:localbroadcastmanager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:documentfile:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:animated-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:slidingpanelayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:viewmodel:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:appcompat-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:loader:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.core:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata-core:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:collections:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:cursoradapter:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-compat:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-ui:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:asynclayoutinflater:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:print:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.core:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:versionedparcelable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:viewpager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-utils:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:recyclerview-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-annotations:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:interpolator:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:drawerlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:coordinatorlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:customview:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:swiperefreshlayout:28.0.0@aar.classpath"/>
- </path>
-
- <path id="bsexcel.module.classpath">
- <path refid="${module.jdk.classpath.bsexcel}"/>
- <pathelement location="${bsexcel.output.dir}"/>
- <path refid="library.gradle:_com.android.support:support-fragment:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:localbroadcastmanager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:documentfile:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:animated-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:slidingpanelayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:viewmodel:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:appcompat-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test.espresso:espresso-idling-resource:3.0.2@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:loader:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.core:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test:runner:1.0.2@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata-core:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:collections:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_com.squareup:javawriter:2.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:cursoradapter:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test.espresso:espresso-core:3.0.2@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-compat:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-ui:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:asynclayoutinflater:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:print:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.google.code.findbugs:jsr305:2.0.1@jar.classpath"/>
- <path refid="library.gradle:_javax.inject:javax.inject:1@jar.classpath"/>
- <path refid="library.gradle:_android.arch.core:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:versionedparcelable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_junit:junit:4.12@jar.classpath"/>
- <path refid="library.gradle:_org.hamcrest:hamcrest-core:1.3@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:viewpager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-utils:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:recyclerview-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test:monitor:1.0.2@aar.classpath"/>
- <path refid="library.gradle:_org.hamcrest:hamcrest-library:1.3@jar.classpath"/>
- <path refid="library.gradle:_org.hamcrest:hamcrest-integration:1.3@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-annotations:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:interpolator:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:drawerlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:coordinatorlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:customview:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:swiperefreshlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_net.sf.kxml:kxml2:2.3.0@jar.classpath"/>
- </path>
-
- <path id="bsexcel.runtime.module.classpath">
- <pathelement location="${bsexcel.testoutput.dir}"/>
- <pathelement location="${bsexcel.output.dir}"/>
- <path refid="library.gradle:_com.android.support:support-fragment:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:localbroadcastmanager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:documentfile:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:animated-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:slidingpanelayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:viewmodel:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:appcompat-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test.espresso:espresso-idling-resource:3.0.2@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:loader:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.core:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test:runner:1.0.2@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata-core:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:collections:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_com.squareup:javawriter:2.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:cursoradapter:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:runtime:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test.espresso:espresso-core:3.0.2@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-compat:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-ui:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:asynclayoutinflater:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:print:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.google.code.findbugs:jsr305:2.0.1@jar.classpath"/>
- <path refid="library.gradle:_javax.inject:javax.inject:1@jar.classpath"/>
- <path refid="library.gradle:_android.arch.core:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:versionedparcelable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_junit:junit:4.12@jar.classpath"/>
- <path refid="library.gradle:_org.hamcrest:hamcrest-core:1.3@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:viewpager:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-core-utils:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:recyclerview-v7:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-vector-drawable:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support.test:monitor:1.0.2@aar.classpath"/>
- <path refid="library.gradle:_org.hamcrest:hamcrest-library:1.3@jar.classpath"/>
- <path refid="library.gradle:_org.hamcrest:hamcrest-integration:1.3@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:support-annotations:28.0.0@jar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:common:1.1.1@jar.classpath"/>
- <path refid="library.gradle:_com.android.support:interpolator:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_android.arch.lifecycle:livedata:1.1.1@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:drawerlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:coordinatorlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:customview:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_com.android.support:swiperefreshlayout:28.0.0@aar.classpath"/>
- <path refid="library.gradle:_net.sf.kxml:kxml2:2.3.0@jar.classpath"/>
- </path>
-
-
- <patternset id="excluded.from.module.bsexcel">
- <patternset refid="ignored.files"/>
- </patternset>
-
- <patternset id="excluded.from.compilation.bsexcel">
- <patternset refid="excluded.from.module.bsexcel"/>
- </patternset>
-
- <path id="bsexcel.module.sourcepath">
- <dirset dir="${module.bsexcel.basedir}">
- <include name="src/main/res"/>
- <include name="src/main/java"/>
- </dirset>
- </path>
-
- <path id="bsexcel.module.test.sourcepath">
- <dirset dir="${module.bsexcel.basedir}">
- <include name="src/test/java"/>
- <include name="src/androidTest/java"/>
- </dirset>
- </path>
-
-
- <target name="compile.module.bsexcel" depends="compile.module.bsexcel.production,compile.module.bsexcel.tests" description="Compile module BSExcel"/>
-
- <target name="compile.module.bsexcel.production" depends="register.custom.compilers" description="Compile module BSExcel; production classes">
- <mkdir dir="${bsexcel.output.dir}"/>
- <javac2 destdir="${bsexcel.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.bsexcel}/javac">
- <compilerarg line="${compiler.args.bsexcel}"/>
- <bootclasspath refid="bsexcel.module.bootclasspath"/>
- <classpath refid="bsexcel.module.production.classpath"/>
- <src refid="bsexcel.module.sourcepath"/>
- <patternset refid="excluded.from.compilation.bsexcel"/>
- </javac2>
-
- <copy todir="${bsexcel.output.dir}">
- <fileset dir="${module.bsexcel.basedir}/src/main/res">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- <fileset dir="${module.bsexcel.basedir}/src/main/java">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
-
- <target name="compile.module.bsexcel.tests" depends="register.custom.compilers,compile.module.bsexcel.production" description="compile module BSExcel; test classes" unless="skip.tests">
- <mkdir dir="${bsexcel.testoutput.dir}"/>
- <javac2 destdir="${bsexcel.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.bsexcel}/javac">
- <compilerarg line="${compiler.args.bsexcel}"/>
- <bootclasspath refid="bsexcel.module.bootclasspath"/>
- <classpath refid="bsexcel.module.classpath"/>
- <src refid="bsexcel.module.test.sourcepath"/>
- <patternset refid="excluded.from.compilation.bsexcel"/>
- </javac2>
-
- <copy todir="${bsexcel.testoutput.dir}">
- <fileset dir="${module.bsexcel.basedir}/src/test/java">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- <fileset dir="${module.bsexcel.basedir}/src/androidTest/java">
- <patternset refid="compiler.resources"/>
- <type type="file"/>
- </fileset>
- </copy>
- </target>
-
- <target name="clean.module.bsexcel" description="cleanup module">
- <delete dir="${bsexcel.output.dir}"/>
- <delete dir="${bsexcel.testoutput.dir}"/>
- </target>
- </project>
|