@@ -19,8 +19,8 @@ dependencies {
19
19
ext {
20
20
GROUP_ID = " com.unity3d.ads"
21
21
ARTIFACT_ID = " unity-ads"
22
- VERSION_ID = " 3.7.2 "
23
- VERSION_CODE = 3720
22
+ VERSION_ID = " 3.7.4 "
23
+ VERSION_CODE = 3740
24
24
SIGN_AAR = properties. getProperty(" SIGN_AAR" ) ?: false
25
25
}
26
26
@@ -47,6 +47,7 @@ android {
47
47
buildConfigField(' int' , ' VERSION_CODE' , " $versionCode " )
48
48
buildConfigField(' String' , ' VERSION_NAME' , " \" $versionName \" " )
49
49
testBuildType " debug"
50
+ multiDexEnabled true
50
51
51
52
testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
52
53
testInstrumentationRunnerArguments disableAnalytics : ' true' // Won't work yet, see: https://code.google.com/p/android/issues/detail?id=188241
@@ -71,6 +72,25 @@ android {
71
72
}
72
73
}
73
74
75
+ dependencies {
76
+ implementation fileTree(dir : ' libs' , include : [' *.jar' ])
77
+ androidTestImplementation project(' :unity-scaradapter-2000' )
78
+ androidTestImplementation project(' :unity-scaradapter-1950' )
79
+ androidTestImplementation project(' :unity-scaradapter-1920' )
80
+ androidTestImplementation project(' :unity-scaradapter-common' )
81
+ androidTestImplementation ' org.mockito:mockito-core:2.28.2'
82
+ androidTestImplementation ' org.mockito:mockito-android:2.25.0'
83
+ androidTestImplementation ' androidx.test:runner:1.3.0'
84
+ androidTestImplementation ' androidx.test:rules:1.3.0'
85
+ androidTestImplementation ' androidx.test.ext:junit:1.1.2'
86
+ androidTestImplementation ' com.google.android.gms:play-services-ads:19.5.0'
87
+ compileOnly ' com.google.ar:core:1.0.0'
88
+ compileOnly project(' :unity-scaradapter-2000' )
89
+ compileOnly project(' :unity-scaradapter-1950' )
90
+ compileOnly project(' :unity-scaradapter-1920' )
91
+ compileOnly project(' :unity-scaradapter-common' )
92
+ }
93
+
74
94
task javadoc (type : Javadoc ) {
75
95
description " Generates Javadoc for Release"
76
96
source = android. sourceSets. main. java. srcDirs
@@ -126,4 +146,4 @@ def getPropertyStringWithDefaultValue(String key, String defaultValue) {
126
146
127
147
apply from : ' publishing.gradle'
128
148
apply from : ' artifactory.gradle'
129
- apply from : ' jacoco.gradle'
149
+ apply from : ' jacoco.gradle'
0 commit comments