Skip to content

Commit

Permalink
Moved IInAppBillingService into its own JAR file
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Pavlotsky committed Jul 17, 2015
1 parent a2dbc45 commit 5105485
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 3 deletions.
7 changes: 6 additions & 1 deletion unity/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
Google Mobile Ads Unity Plugin Change Log

*************
Version 2.3.1
*************
- Move IInAppBillingService into its own JAR

*************
Version 2.3.0
*************
- Add support for In-App Purchase house ads on Android.
- Add support for In-App Purchase house ads on Android

*************
Version 2.2.1
Expand Down
2 changes: 1 addition & 1 deletion unity/source/Assets/GoogleMobileAds/Api/AdRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace GoogleMobileAds.Api
{
public class AdRequest
{
public const string Version = "2.3.0";
public const string Version = "2.3.1";
public const string TestDeviceSimulator = "SIMULATOR";

public class Builder
Expand Down
1 change: 1 addition & 0 deletions unity/source/plugin-library/billingaidl/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
37 changes: 37 additions & 0 deletions unity/source/plugin-library/billingaidl/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

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

task clearJar(type: Delete) {
delete 'build/libs/billingaidl.jar'
}

task makeJar(type: Copy) {
from('build/intermediates/bundles/release/')
into('build/libs/')
include('classes.jar')
rename ('classes.jar', 'in-app-billing-service-aidl.jar')
}

makeJar.dependsOn(clearJar, build)
17 changes: 17 additions & 0 deletions unity/source/plugin-library/billingaidl/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/google/home/pavlotsky/Android/Sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<manifest package="com.google.unity.billingaidl">
</manifest>
2 changes: 1 addition & 1 deletion unity/source/plugin-library/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app'
include ':app', ':billingaidl'

0 comments on commit 5105485

Please sign in to comment.