I've written a library that uses [`org.json`](http://json.org/) (A) from json.org, under the assumption that Android used the same (in android it's also called `org.json` (B), just that it misses some relatively critical features). Now what I'd like to do is set up my gradle, so that my project uses [`org.json`](http://json.org/) (A) instead of `org.json` (B). I've tried adding the following to my app.gradle:

```
android {
    blabla
    defaultConfig {
        blabla
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    sourceSets{
        main{
            java{
                exclude 'org/json/**'
            }
        }
    }

}

```

However, this does not seem to work. I still have Android's `org.json` (B) available to me, and when typing `new JSONObject()` it still uses Android's implementation. How could I fix this?