Skip to content

Instantly share code, notes, and snippets.

Artem illuzor

Block or report user

Report or block illuzor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@illuzor
illuzor / .gitlab-ci.yml
Last active Jul 11, 2019
Config for gitlab ci android with unit tests and instrumented tests
View .gitlab-ci.yml
image: openjdk:8-jdk
variables:
ANDROID_COMPILE_SDK: "28"
ANDROID_BUILD_TOOLS: "28.0.3"
SDK_TOOLS: "4333796" # from https://developer.android.com/studio/#command-tools
EMULATOR_VERSION: "24"
before_script:
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${SDK_TOOLS}.zip
View f.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="define_int_commonsio" translatable="false" />
<string name="library_commonsio_author" translatable="false">The Apache Software Foundation</string>
<string name="library_commonsio_authorWebsite" translatable="false">http://apache.org</string>
<string name="library_commonsio_libraryName" translatable="false">Apache Commons IO</string>
<string name="library_commonsio_libraryDescription" translatable="false">Commons IO is a library of utilities to assist with developing IO functionality.</string>
<string name="library_commonsio_libraryWebsite" translatable="false">http://commons.apache.org/proper/commons-io/</string>
<string name="library_commonsio_libraryVersion" translatable="false">2.6</string>
<string name="library_commonsio_isOpenSource" translatable="false">true</string>
@illuzor
illuzor / graphics.coverter.xml
Last active Feb 22, 2016
graphics.coverter.xml
View graphics.coverter.xml
<project name="Graphics Converter" default="atlasses.and.gafs" basedir="..">
<!--путь к air sdk-->
<property name="flex.home" location="C:/Program Files (x86)/FlexSDK/AIR SDK" />
<!--путь к pvr2atf-->
<property name="atf.tool" location="${flex.home}/atftools/pvr2atf.exe" />
<!--путь к PVRTexToolCLI-->
<property name="pvr.tool" location="C:/Program Files/PowerVR/Tool/PVRTexTool/CLI/Windows_x86_32/PVRTexToolCLI.exe" />
<!--путь к атласам в формате pvr-->
View l2.xml
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
View l.xml
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.CoordinatorLayout
android:id="@+id/coordinator"
View build.xml
<target name="-compile.for.ios" description="Compiling swf for ios">
<java jar="${asc2.compiler}" failonerror="true" fork="true">
<arg value="-load-config+=${air.config}"/>
<arg value="-load-config+=${compile.config}"/>
<arg value="-debug=${debug.build}"/>
<arg value="+configname=airmobile"/>
<arg value="-swf-version=29"/>
<arg value="-define=CONFIG::flashplayer,false"/>
<arg value="-define=CONFIG::android,false"/>
<arg value="-define=CONFIG::ios,true"/>
View build.xml
<target name="-compile.for.android" description="Compiling swf for android">
<java jar="${asc2.compiler}" failonerror="true" fork="true">
<arg value="-load-config+=${air.config}"/>
<arg value="-load-config+=${compile.config}"/>
<arg value="-debug=${debug.build}"/>
<arg value="+configname=airmobile"/>
<arg value="-swf-version=29"/>
<arg value="-define=CONFIG::flashplayer,false"/>
<arg value="-define=CONFIG::android,true"/>
<arg value="-define=CONFIG::ios,false"/>
View build.xml
<target name="compile.for.player" description="Compiling swf for flashplayer">
<java jar="${asc2.compiler}" failonerror="true" fork="true">
<arg value="-load-config+=${flex.config}"/>
<arg value="-load-config+=${compile.config}"/>
<arg value="-debug=${debug.build}"/>
<arg value="-swf-version=29"/>
<arg value="-define=CONFIG::flashplayer,true"/>
<arg value="-define=CONFIG::android,false"/>
<arg value="-define=CONFIG::ios,false"/>
</java>
View build.xml
<property file="build/build.config"/>
<property name="asc2.compiler" value="${flex.home}/lib/mxmlc-cli.jar"/>
<property name="adt" value="${flex.home}/lib/adt.jar"/>
<property name="air.config" value="${flex.home}/frameworks/airmobile-config.xml"/>
<property name="flex.config" value="${flex.home}/frameworks/flex-config.xml"/>
<target name="build.all" depends="compile.for.player, build.for.android, build.for.ios" description="Making all builds" />
<target name="build.for.android" depends="-compile.for.android, -make.android.apk" description="Building android apk" />
<target name="build.for.ios" depends="-compile.for.ios, -make.ios.ipa" description="Building ios ipa" />
View build.xml
<project name="AntBuildDemo" default="build.all" basedir="..">
<property file="build/build.config"/>
<property name="asc2.compiler" value="${flex.home}/lib/mxmlc-cli.jar"/>
<property name="adt" value="${flex.home}/lib/adt.jar"/>
<property name="air.config" value="${flex.home}/frameworks/airmobile-config.xml"/>
<property name="flex.config" value="${flex.home}/frameworks/flex-config.xml"/>
<target name="build.all" depends="compile.for.player, build.for.android, build.for.ios" description="Making all builds" />
You can’t perform that action at this time.