This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
133 lines (118 loc) · 4.31 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
//apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 28
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.karnadi.ironsource_example"
minSdkVersion 16
targetSdkVersion 28
multiDexEnabled true
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services-ads-identifier:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
//Add AdNetworks adapters dependencies - every adapter contains also the ad network SDK.
//Make sure you also configure the AdNetworks in your dashboard.
//For more information: http://developers.ironsrc.com/ironsource-mobile/android/mediation-networks-android/
//
// //Adcolony
// implementation 'com.ironsource.adapters:adcolonyadapter:4.1.7@jar'
// implementation 'com.adcolony:sdk:3.3.8'
//
// //Admob
// //implementation to use Admob Adapter uncomment the appid in the manifest
//
// implementation 'com.google.android.gms:play-services-ads:17.2.0'
// implementation 'com.ironsource.adapters:admobadapter:4.3.3@jar'
//
// //Applovin
// implementation 'com.ironsource.adapters:applovinadapter:4.3.4@jar'
//
// //Chartboost
// implementation 'com.ironsource.adapters:chartboostadapter:4.1.9@jar'
//
// //Facebook
// implementation 'com.ironsource.adapters:facebookadapter:4.3.2@jar'
//
// //Inmobi
// implementation 'com.ironsource.adapters:inmobiadapter:4.3.1@jar'
// implementation 'com.squareup.picasso:picasso:2.5.2'
//
// //MediaBrix
// implementation 'com.ironsource.adapters:mediabrixadapter:4.1.0@jar'
//
// //TapJoy
// implementation 'com.ironsource.adapters:tapjoyadapter:4.1.4@jar'
//
// //UnityAds
// implementation 'com.ironsource.adapters:unityadsadapter:4.1.3@jar'
//
//
// //Vungle
// implementation 'com.ironsource.adapters:vungleadapter:4.1.5@jar'
// implementation 'com.github.vungle:vungle-android-sdk:6.3.24'
//
// //MoPub
// implementation 'com.ironsource.adapters:mopubadapter:4.1.3@jar'
// implementation('com.mopub:mopub-sdk-rewardedvideo:5.2.0@aar') {
// transitive = true
// }
//
// //Maio
// implementation 'com.ironsource.adapters:maioadapter:4.1.3@jar'
//
//
// //hyprmx
// implementation 'com.ironsource.adapters:hyprmxadapter:4.1.1@jar'
// implementation 'com.hyprmx.android:HyprMX-SDK:4.3'
// implementation 'com.android.support:support-v4:27.1.1'
// implementation 'com.android.support:support-annotations:27.1.1'
//
// //Fyber
// implementation 'com.ironsource.adapters:fyberadapter:4.3.0@jar'
// //Need To Add Fyber SDK Manually
// //Amazon
// implementation 'com.ironsource.adapters:amazonadapter:4.3.0@jar'
}