Skip to content

Commit 5105485

Browse files
author
Yury Pavlotsky
committed
Moved IInAppBillingService into its own JAR file
1 parent a2dbc45 commit 5105485

File tree

8 files changed

+65
-3
lines changed

8 files changed

+65
-3
lines changed

unity/ChangeLog.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
Google Mobile Ads Unity Plugin Change Log
22

3+
*************
4+
Version 2.3.1
5+
*************
6+
- Move IInAppBillingService into its own JAR
7+
38
*************
49
Version 2.3.0
510
*************
6-
- Add support for In-App Purchase house ads on Android.
11+
- Add support for In-App Purchase house ads on Android
712

813
*************
914
Version 2.2.1

unity/source/Assets/GoogleMobileAds/Api/AdRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace GoogleMobileAds.Api
66
{
77
public class AdRequest
88
{
9-
public const string Version = "2.3.0";
9+
public const string Version = "2.3.1";
1010
public const string TestDeviceSimulator = "SIMULATOR";
1111

1212
public class Builder
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 22
5+
buildToolsVersion "22.0.1"
6+
7+
defaultConfig {
8+
minSdkVersion 9
9+
targetSdkVersion 22
10+
versionCode 1
11+
versionName "1.0"
12+
}
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
17+
}
18+
}
19+
}
20+
21+
dependencies {
22+
compile fileTree(dir: 'libs', include: ['*.jar'])
23+
compile 'com.android.support:appcompat-v7:22.1.1'
24+
}
25+
26+
task clearJar(type: Delete) {
27+
delete 'build/libs/billingaidl.jar'
28+
}
29+
30+
task makeJar(type: Copy) {
31+
from('build/intermediates/bundles/release/')
32+
into('build/libs/')
33+
include('classes.jar')
34+
rename ('classes.jar', 'in-app-billing-service-aidl.jar')
35+
}
36+
37+
makeJar.dependsOn(clearJar, build)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /usr/local/google/home/pavlotsky/Android/Sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<manifest package="com.google.unity.billingaidl">
2+
</manifest>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ':app'
1+
include ':app', ':billingaidl'

0 commit comments

Comments
 (0)