@@ -19,8 +19,8 @@ dependencies {
1919ext {
2020 GROUP_ID = " com.unity3d.ads"
2121 ARTIFACT_ID = " unity-ads"
22- VERSION_ID = " 3.7.2 "
23- VERSION_CODE = 3720
22+ VERSION_ID = " 3.7.4 "
23+ VERSION_CODE = 3740
2424 SIGN_AAR = properties. getProperty(" SIGN_AAR" ) ?: false
2525}
2626
@@ -47,6 +47,7 @@ android {
4747 buildConfigField(' int' , ' VERSION_CODE' , " $versionCode " )
4848 buildConfigField(' String' , ' VERSION_NAME' , " \" $versionName \" " )
4949 testBuildType " debug"
50+ multiDexEnabled true
5051
5152 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
5253 testInstrumentationRunnerArguments disableAnalytics : ' true' // Won't work yet, see: https://code.google.com/p/android/issues/detail?id=188241
@@ -71,6 +72,25 @@ android {
7172 }
7273}
7374
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+
7494task javadoc (type : Javadoc ) {
7595 description " Generates Javadoc for Release"
7696 source = android. sourceSets. main. java. srcDirs
@@ -126,4 +146,4 @@ def getPropertyStringWithDefaultValue(String key, String defaultValue) {
126146
127147apply from : ' publishing.gradle'
128148apply from : ' artifactory.gradle'
129- apply from : ' jacoco.gradle'
149+ apply from : ' jacoco.gradle'
0 commit comments