55 lines
1.0 KiB
Groovy
55 lines
1.0 KiB
Groovy
|
group 'com.example.jc_printer'
|
||
|
version '1.0'
|
||
|
|
||
|
buildscript {
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:7.3.0'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
rootProject.allprojects {
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
android {
|
||
|
if (project.android.hasProperty("namespace")) {
|
||
|
namespace 'com.example.jc_printer'
|
||
|
}
|
||
|
|
||
|
compileSdkVersion 33
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 19
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation 'junit:junit:4.13.2'
|
||
|
testImplementation 'org.mockito:mockito-core:5.0.0'
|
||
|
}
|
||
|
|
||
|
testOptions {
|
||
|
unitTests.all {
|
||
|
testLogging {
|
||
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
||
|
outputs.upToDateWhen {false}
|
||
|
showStandardStreams = true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|