Commit 28f0198d authored by kenan's avatar kenan

proj

parent c8a28cf1
...@@ -5,6 +5,7 @@ android { ...@@ -5,6 +5,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 22 targetSdkVersion 22
ndk { ndk {
...@@ -19,6 +20,13 @@ android { ...@@ -19,6 +20,13 @@ android {
} }
} }
sourceSets {
main {
assets.srcDirs = ['../libcore/src/main/assets']
java.srcDirs = ['../libcore/src/main/java']
res.srcDirs = ['../libcore/src/main/res']
}
}
} }
dependencies { dependencies {
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="cn.garymb.ygomobile.so"> package="cn.garymb.ygomobile.lib">
<application /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<application>
<activity
android:name="cn.garymb.ygomobile.YGOMobileActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true"
android:label="YGOMobile"
android:process=":game"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:taskAffinity="cn.garymb.ygomobile.game"
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
android:windowSoftInputMode="adjustPan"
tools:targetApi="honeycomb">
<meta-data
android:name="android.app.lib_name"
android:value="YGOMobile"/>
<meta-data
android:name="android.notch_support"
android:value="true"/>
</activity>
<receiver android:name="cn.garymb.ygomobile.GameReceiver"
android:process=":game" >
<intent-filter>
<action android:name="cn.garymb.ygomobile.game.start"/>
<action android:name="cn.garymb.ygomobile.game.stop"/>
</intent-filter>
</receiver>
</application>
</manifest> </manifest>
...@@ -79,7 +79,8 @@ repositories { ...@@ -79,7 +79,8 @@ repositories {
} }
dependencies { dependencies {
implementation 'junit:junit:4.12' implementation 'junit:junit:4.12'
implementation project(':libcore') debugImplementation project(':libygo')
releaseImplementation project(':libcore')
//support-annotations,support-vector-drawable //support-annotations,support-vector-drawable
// implementation 'com.android.support:appcompat-v7:' + rootProject.ext.supportVersion // implementation 'com.android.support:appcompat-v7:' + rootProject.ext.supportVersion
// implementation 'com.android.support:recyclerview-v7:' + rootProject.ext.supportVersion // implementation 'com.android.support:recyclerview-v7:' + rootProject.ext.supportVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment