Skip to content

Commit

Permalink
Bring MOAI up to the state of Android development art.
Browse files Browse the repository at this point in the history
  • Loading branch information
openresearch-jv committed Nov 9, 2018
1 parent 51b66f3 commit 6d17f4a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions android-studio/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion '25.0.0'
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.moaisdk.refapp"
Expand Down Expand Up @@ -59,11 +59,11 @@ if (usePrebuiltLibs) {
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:22.1.1'
compile project(':core')
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:22.1.1'
implementation project(':core')
if (!usePrebuiltLibs) {
compile project(":libmoai")
implementation project(":libmoai")
}
}

2 changes: 0 additions & 2 deletions android-studio/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

</application>

<uses-sdk android:minSdkVersion="8"/>

<!-- Moai -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
4 changes: 3 additions & 1 deletion android-studio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,5 +16,6 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}
4 changes: 2 additions & 2 deletions android-studio/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Mar 06 18:10:39 PST 2017
#Fri Nov 09 10:50:57 CET 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
2 changes: 1 addition & 1 deletion android-studio/libmoai/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 22
buildToolsVersion "25.0.0"
buildToolsVersion '28.0.3'

defaultConfig {
minSdkVersion 17
Expand Down
6 changes: 3 additions & 3 deletions src/moai-android/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 22
buildToolsVersion '25.0.0'
buildToolsVersion '28.0.3'

defaultConfig {
minSdkVersion 17
Expand All @@ -26,6 +26,6 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:22.1.1'
}

0 comments on commit 6d17f4a

Please sign in to comment.