jenkinsci / peass-ci-plugin

Jenkins plugin for peass to support performance measurement in CI
https://plugins.jenkins.io/peass-ci/
GNU Affero General Public License v3.0
4 stars 13 forks source link

Adapt build.gradle dependency creation for emulated tests #171

Closed alex-iotiq closed 1 year ago

alex-iotiq commented 2 years ago
...
dependencies {
    ...
    implementation('de.dagere.kopeme:kopeme-junit4:1.1.12'){
        exclude group: 'net.kieker-monitoring', module: 'kieker'
        exclude group: 'org.hamcrest', module: 'hamcrest'
        exclude group: 'org.aspectj', module: 'aspectjrt'
        exclude group: 'org.apache.logging.log4j', module: 'log4j-core'
    }
    implementation 'net.kieker-monitoring:kieker:1.15.1'
}

android {
    compileSdkVersion 29

    defaultConfig {
        minSdkVersion 26
        targetSdkVersion 29
        multiDexEnabled = true
    }

compileSdkVersion and targetSdkVersion 29 for external read and write access on Android 11 or else KoPeMe can't read files which aren't created by itself. See https://stackoverflow.com/questions/62782648/android-11-scoped-storage-permissions

alex-iotiq commented 1 year ago
dependencies {
    ...
    implementation ('de.dagere.kopeme:kopeme-junit4:<current version>') {
        ...
        exclude group: 'org.aspectj', module: 'aspectjweaver'
    }
}

Solves duplicate classes error.


Solves cannot find symbol error. In task :app:compileBorDebugJavaWithJavac.